mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2024-12-28 07:56:12 +01:00
set the correct permissions for vmail folder
This commit is contained in:
parent
6720dc7209
commit
53568f6d1f
1 changed files with 4 additions and 1 deletions
|
@ -71,7 +71,10 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
# dovecot
|
# 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;
|
enable = true;
|
||||||
enableImap = enable_imap;
|
enableImap = enable_imap;
|
||||||
enablePop3 = enable_pop3;
|
enablePop3 = enable_pop3;
|
||||||
|
|
Loading…
Reference in a new issue