docker-mailserver/target
Georg Lauterbach 4e9ffbf224
fix(Postfix): special bits for maildrop and public directory (#3149)
* fixed special bits for maildrop and public dir

After changing the group, special bits are lost, but they should be set for the directories `/var/spool/postfix/{maildrop,public}`, otherwise you see the following error:

```
postfix/postdrop[17400]: warning: mail_queue_enter: create file maildrop/729504.17400: Permission denied
```

* fix: Match octal permissions originally provided

Officially Postfix source seems to imply:
- `730` for `maildrop/` (_but has mentioned a sticky bit in the past, set-gid bit only for the postdrop binary involved_)
- `710` for `public/`

Both folders are assigned the same group that `postdrop` belongs to which has the SGID permission for it's executable. SGID special bit on`public/` doesn't seem necessary, but left as-is to match the default from Debian.

---------

Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
2023-03-05 20:57:40 +13:00
..
amavis chore(Amavis): only add configuration to Postfix when enabled (#3046) 2023-02-03 17:32:07 +01:00
bin scripts: housekeeping & cleanup setup (2/2) (#3123) 2023-02-28 10:25:23 +01:00
dovecot config: ensure SASL socket file is not inside a volume mount (#3131) 2023-03-03 23:42:55 +01:00
fail2ban Fix several typos (#2990) 2023-01-10 14:13:50 +01:00
fetchmail Implement fetchmail (#260) (#271) 2016-08-21 22:13:13 +02:00
logwatch Add logwatch maillog.conf file to support /var/log/mail/ (#2112) 2021-08-11 11:31:00 +02:00
opendkim Fixed KeyTable refile in opendkim.conf https://serverfault.com/a/861701/377751 (#2249) 2021-10-16 19:04:51 +02:00
opendmarc fix: Change the default OpenDMARC policy to reject (#2933) 2022-12-19 08:54:38 +13:00
postfix config: ensure SASL socket file is not inside a volume mount (#3131) 2023-03-03 23:42:55 +01:00
postgrey housekeeping 2020-11-06 14:04:23 +01:00
postsrsd formatting files according to standard (#1619) 2020-09-24 14:54:21 +02:00
rspamd/local.d scripts/ENV: make disabling Redis possible (#3132) 2023-03-01 16:24:59 +01:00
scripts fix(Postfix): special bits for maildrop and public directory (#3149) 2023-03-05 20:57:40 +13:00
shared init tests cases ffdhe4096 2020-04-26 22:23:51 +02:00
supervisor rspamd: rename ENABLE_REDIS & add persistence for Redis (#3143) 2023-03-04 10:45:43 +01:00