From dd7359d9db3122cb8a3568d84ecc916fa990890f Mon Sep 17 00:00:00 2001 From: Robin Raymond Date: Mon, 25 Jul 2016 17:47:54 +0200 Subject: [PATCH] factors out postfix and adds valias + vaccounts --- mail-server.nix | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/mail-server.nix b/mail-server.nix index ba322ee..0ecaaaf 100644 --- a/mail-server.nix +++ b/mail-server.nix @@ -48,17 +48,14 @@ in # define all users users.extraUsers = vmail_user ++ mail_user; - # postfix - services.postfix = { - enable = true; - networksStyle = "host"; - }; - + # rspamd services.rspamd = { enable = true; }; - - # dovecot - imports = [ ./mail-server/dovecot.nix ]; + + imports = [ + ./mail-server/dovecot.nix # dovecot + ./mail-server/postfix.nix # postfix + ]; }