about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2015-09-23 11:54:39 +0200
committerPeter Simons <simons@cryp.to>2015-09-23 11:54:39 +0200
commit5f3990185f25b29007e7486b1d141afce9f2985a (patch)
tree5c8c0a3d09858bd3376f5125905445ea487980b7
parentf0717273a78fa37e6688a759fcc886e2f1958142 (diff)
parent63d1ce6d38c47a8ae9b31c0fcaca79c295f52136 (diff)
downloadnixlib-5f3990185f25b29007e7486b1d141afce9f2985a.tar
nixlib-5f3990185f25b29007e7486b1d141afce9f2985a.tar.gz
nixlib-5f3990185f25b29007e7486b1d141afce9f2985a.tar.bz2
nixlib-5f3990185f25b29007e7486b1d141afce9f2985a.tar.lz
nixlib-5f3990185f25b29007e7486b1d141afce9f2985a.tar.xz
nixlib-5f3990185f25b29007e7486b1d141afce9f2985a.tar.zst
nixlib-5f3990185f25b29007e7486b1d141afce9f2985a.zip
Merge pull request #10009 from jerith666/postfix-recip-delim
postfix service: fix recipientDelimiter not to be dependent on sslCert
-rw-r--r--nixos/modules/services/mail/postfix.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/services/mail/postfix.nix b/nixos/modules/services/mail/postfix.nix
index 29e0cf7a8829..e8beba4b3586 100644
--- a/nixos/modules/services/mail/postfix.nix
+++ b/nixos/modules/services/mail/postfix.nix
@@ -77,7 +77,8 @@ let
       smtpd_tls_key_file = ${cfg.sslKey}
 
       smtpd_use_tls = yes
-
+    ''
+    + optionalString (cfg.recipientDelimiter != "") ''
       recipient_delimiter = ${cfg.recipientDelimiter}
     ''
     + optionalString (cfg.virtual != "") ''