docker-mailserver/target/scripts
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
..
build fix: Avoid creating an unnecessary syslog socket for Postfix (#3134) 2023-03-03 23:08:51 +01:00
helpers scripts: follow up of #3115 (feedback) (#3124) 2023-02-27 23:37:35 +01:00
startup fix(Postfix): special bits for maildrop and public directory (#3149) 2023-03-05 20:57:40 +13:00
check-for-changes.sh chore: Remove delay starting the change detection service (#3064) 2023-02-18 15:51:28 +01:00
start-mailserver.sh scripts: touchups for v12.0.0 (#3144) 2023-03-04 10:57:42 +01:00
update-check.sh feature: provide better rspamd suppport (#3016) 2023-01-25 10:28:59 +01:00