From 3a333ab71a110423dce818ea93670d6b3115a7da Mon Sep 17 00:00:00 2001 From: Ruben Maher Date: Wed, 20 Dec 2017 10:54:57 +1030 Subject: [PATCH] mail-server/postfix: add each loginAccount to virtual_alias_maps --- mail-server/postfix.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail-server/postfix.nix b/mail-server/postfix.nix index bc8ae6c..b36accd 100644 --- a/mail-server/postfix.nix +++ b/mail-server/postfix.nix @@ -26,7 +26,7 @@ let valiases_postfix = lib.flatten (lib.mapAttrsToList (name: value: let to = name; - in map (from: "${from} ${to}") value.aliases) + in map (from: "${from} ${to}") (value.aliases ++ lib.singleton name)) cfg.loginAccounts); # catchAllPostfix :: [ String ]