mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2024-12-28 20:10:34 +05:00
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
|
||||
(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 ]
|
||||
|
Loading…
Reference in New Issue
Block a user