mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
Postfix list separator fix
svn path=/nixos/trunk/; revision=12548
This commit is contained in:
parent
63e316ecac
commit
b8ff944cd2
@ -9,6 +9,7 @@ let
|
||||
idList = import ../system/ids.nix;
|
||||
|
||||
optionalString = pkgs.lib.optionalString;
|
||||
concatStringsSep = pkgs.lib.concatStringsSep;
|
||||
mainCf =
|
||||
''
|
||||
queue_directory = /var/postfix/queue
|
||||
@ -25,7 +26,7 @@ let
|
||||
+
|
||||
(if cfg.networks!=null then
|
||||
(''
|
||||
mynetworks = ${toString cfg.networks}
|
||||
mynetworks = ${concatStringsSep ", " cfg.networks}
|
||||
'')
|
||||
else if (cfg.networksStyle != "") then
|
||||
(''
|
||||
@ -47,10 +48,10 @@ let
|
||||
myorigin = ${cfg.origin}
|
||||
'')
|
||||
+ optionalString (cfg.destination != null) (''
|
||||
mydestination = ${toString cfg.destination}
|
||||
mydestination = ${concatStringsSep ", " cfg.destination}
|
||||
'')
|
||||
+ optionalString (cfg.relayDomains != null) (''
|
||||
relay_domains = ${toString cfg.relayDomains}
|
||||
relay_domains = ${concatStringsSep ", " cfg.relayDomains}
|
||||
'')
|
||||
+ ''
|
||||
local_recipient_maps =
|
||||
|
Loading…
Reference in New Issue
Block a user