set the correct permissions for vmail folder

This commit is contained in:
r-raymond 2016-07-25 17:14:18 +02:00 committed by GitHub
parent 6720dc7209
commit 53568f6d1f

View File

@ -71,7 +71,10 @@ in
};
# dovecot
services.dovecot2 = {
# set the correct permissions for dovecot vmail folder. see
# http://wiki2.dovecot.org/SharedMailboxes/Permissions
systemd.services.dovecot2.preStart = "chmod 02770 /var/vmail";
services.dovecot2 = {
enable = true;
enableImap = enable_imap;
enablePop3 = enable_pop3;