From 1ca3e7ef22a097cfe77474f8ca1afc063bb20dd6 Mon Sep 17 00:00:00 2001 From: r-raymond Date: Mon, 25 Jul 2016 17:06:44 +0200 Subject: [PATCH] adds imap / pop3 options and support --- mail-server.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mail-server.nix b/mail-server.nix index 114ca7f..c759d15 100644 --- a/mail-server.nix +++ b/mail-server.nix @@ -24,6 +24,8 @@ let mail_dir = "/var/vmail"; cert_file = "mail-server.crt"; key_file = "mail-server.key"; + enable_imap = true; + enable_pop3 = false; in let vmail_user = [{ @@ -70,6 +72,8 @@ in # dovecot services.dovecot2 = { enable = true; + enableImap = enable_imap; + enablePop3 = enable_pop3; }; }