adds mailUser, mailGroup, mailLocation to dovecot

This commit is contained in:
r-raymond 2016-07-25 17:10:22 +02:00 committed by GitHub
parent 1ca3e7ef22
commit 6720dc7209
1 changed files with 4 additions and 1 deletions

View File

@ -28,6 +28,7 @@ let
enable_pop3 = false; enable_pop3 = false;
in in
let let
dovecot_maildir = "maildir:" + mail_dir + "/%d/%n/";
vmail_user = [{ vmail_user = [{
name = vmail_user_name; name = vmail_user_name;
isNormalUser = false; isNormalUser = false;
@ -74,6 +75,8 @@ in
enable = true; enable = true;
enableImap = enable_imap; enableImap = enable_imap;
enablePop3 = enable_pop3; enablePop3 = enable_pop3;
mailGroup = vmail_group_name;
mailUser = vmail_user_name;
mailLocation = dovecot_maildir;
}; };
} }