From 2cee5a42b0d278577e791bbed51521ec0d103192 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Sun, 14 Feb 2016 09:59:11 +0300 Subject: [PATCH] dspam service: set ClientHost --- nixos/modules/services/mail/dspam.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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} '';