From 6b857eebbafba660cc57b19bd11f6484c91f8fd7 Mon Sep 17 00:00:00 2001 From: aszlig Date: Wed, 18 Mar 2015 00:14:27 +0100 Subject: Integrate Postfix config into module-list.nix. This currently is just a dummy module for now with a big fat TODO, but at least we now have a homogenous module namespace starting with "labernix." and categorized by services/config/tasks/whatnot. Signed-off-by: aszlig --- machines/mailserver.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'machines') diff --git a/machines/mailserver.nix b/machines/mailserver.nix index 86f6edac..7d4bd397 100644 --- a/machines/mailserver.nix +++ b/machines/mailserver.nix @@ -35,10 +35,7 @@ ''}"; in { - imports = [ - ../common.nix - ../modules/postfix/restrictions.nix # XXX: Refactor and remove! - ]; + imports = [ ../common.nix ]; services.spamassassin.enable = true; @@ -49,7 +46,7 @@ in { fileSystems."/".label = "root"; boot.loader.grub.device = "nodev"; - openlab.postfix.restrictions = { + labernix.postfix.restrictions = { sender = [ "reject_authenticated_sender_login_mismatch" "reject_unknown_sender_domain" -- cgit 1.4.1