Compare commits

..

2 Commits
0.35 ... 0.36

Author SHA1 Message Date
cytopia
fd255f1f9a Merge pull request #49 from devilbox/postfix-user-perm-on-windows
Mitigate postfix maildir permissions for Windows
2018-08-29 12:45:46 +02:00
cytopia
e285134ad3 Mitigate postfix maildir permissions for Windows 2018-08-29 08:51:11 +02:00

View File

@@ -69,6 +69,9 @@ set_postfix() {
run "chown ${username}:${groupname} /var/mail" "${debug}"
run "chown ${username}:${groupname} /var/mail/${username}" "${debug}"
# warning: specify "strict_mailbox_ownership = no" to ignore mailbox ownership mismatch
run "postconf -e 'strict_mailbox_ownership=no'" "${debug}"
# Postfix configuration
run "postconf -e 'inet_protocols=ipv4'" "${debug}"
run "postconf -e 'virtual_alias_maps=pcre:/etc/postfix/virtual'" "${debug}"