diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-02-14 09:59:11 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-02-14 10:35:04 +0300 |
commit | 2cee5a42b0d278577e791bbed51521ec0d103192 (patch) | |
tree | bbe9dad536e4d4b99360db0627fffc10008698ca /nixos/modules/services/mail/dspam.nix | |
parent | 6a036d9fca013265b4109ffcaf6df62efa010fa3 (diff) | |
download | nixpkgs-2cee5a42b0d278577e791bbed51521ec0d103192.tar nixpkgs-2cee5a42b0d278577e791bbed51521ec0d103192.tar.gz nixpkgs-2cee5a42b0d278577e791bbed51521ec0d103192.tar.bz2 nixpkgs-2cee5a42b0d278577e791bbed51521ec0d103192.tar.lz nixpkgs-2cee5a42b0d278577e791bbed51521ec0d103192.tar.xz nixpkgs-2cee5a42b0d278577e791bbed51521ec0d103192.tar.zst nixpkgs-2cee5a42b0d278577e791bbed51521ec0d103192.zip |
dspam service: set ClientHost
Diffstat (limited to 'nixos/modules/services/mail/dspam.nix')
-rw-r--r-- | nixos/modules/services/mail/dspam.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/modules/services/mail/dspam.nix b/nixos/modules/services/mail/dspam.nix index 2d8aebe2057..96b0e165c4d 100644 --- a/nixos/modules/services/mail/dspam.nix +++ b/nixos/modules/services/mail/dspam.nix @@ -19,7 +19,10 @@ let SystemLog on UserLog on - ${optionalString (cfg.domainSocket != null) ''ServerDomainSocketPath "${cfg.domainSocket}"''} + ${optionalString (cfg.domainSocket != null) '' + ServerDomainSocketPath "${cfg.domainSocket}" + ClientHost "${cfg.domainSocket}" + ''} ${cfg.extraConfig} ''; |