adds imap / pop3 options and support

This commit is contained in:
r-raymond 2016-07-25 17:06:44 +02:00 committed by GitHub
parent f6d2f7818f
commit 1ca3e7ef22
1 changed files with 4 additions and 0 deletions

View File

@ -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;
};
}