mail-server/postfix: add each loginAccount to virtual_alias_maps

This commit is contained in:
Ruben Maher 2017-12-20 10:54:57 +10:30
parent 51058db71e
commit 3a333ab71a
1 changed files with 1 additions and 1 deletions

View File

@ -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 ]