mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2024-12-28 16:06:12 +01:00
mail-server/postfix: add each loginAccount to virtual_alias_maps
This commit is contained in:
parent
51058db71e
commit
3a333ab71a
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue