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
1 changed files with 4 additions and 1 deletions

View File

@ -71,6 +71,9 @@ in
};
# dovecot
# 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;