From 6720dc7209a1f69ded121b1a82859db284a9fd9b Mon Sep 17 00:00:00 2001 From: r-raymond Date: Mon, 25 Jul 2016 17:10:22 +0200 Subject: [PATCH] adds mailUser, mailGroup, mailLocation to dovecot --- mail-server.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mail-server.nix b/mail-server.nix index c759d15..908cac5 100644 --- a/mail-server.nix +++ b/mail-server.nix @@ -28,6 +28,7 @@ let enable_pop3 = false; in let + dovecot_maildir = "maildir:" + mail_dir + "/%d/%n/"; vmail_user = [{ name = vmail_user_name; isNormalUser = false; @@ -74,6 +75,8 @@ in enable = true; enableImap = enable_imap; enablePop3 = enable_pop3; + mailGroup = vmail_group_name; + mailUser = vmail_user_name; + mailLocation = dovecot_maildir; }; - }