mail-server/postfix: add each loginAccount to virtual_alias_maps
This commit is contained in:
parent
51058db71e
commit
3a333ab71a
|
@ -26,7 +26,7 @@ let
|
||||||
valiases_postfix = lib.flatten (lib.mapAttrsToList
|
valiases_postfix = lib.flatten (lib.mapAttrsToList
|
||||||
(name: value:
|
(name: value:
|
||||||
let to = name;
|
let to = name;
|
||||||
in map (from: "${from} ${to}") value.aliases)
|
in map (from: "${from} ${to}") (value.aliases ++ lib.singleton name))
|
||||||
cfg.loginAccounts);
|
cfg.loginAccounts);
|
||||||
|
|
||||||
# catchAllPostfix :: [ String ]
|
# catchAllPostfix :: [ String ]
|
||||||
|
|
Loading…
Reference in New Issue