diff --git a/postfix.nix b/postfix.nix index f92300a..1b4eaf5 100644 --- a/postfix.nix +++ b/postfix.nix @@ -335,7 +335,7 @@ in { concatStringsSep "," (map (mkEmail cfg.domain) users); in concatMapAttrsToList (alias: users: let userEmails = concatStringsSep "," users; - in concatMap (domain: "${mkEmail domain alias} ${userEmails}") + in map (domain: "${mkEmail domain alias} ${userEmails}") domains); in concatStringsSep "\n" ((mkUserAliases cfg.aliases.user-aliases) ++ (mkAliasUsers allDomains cfg.aliases.alias-users));