From 8b7dde4b54da821ca3dc2058178d6ffbd2e25bc5 Mon Sep 17 00:00:00 2001 From: Robin Raymond Date: Sun, 11 Nov 2018 18:03:04 +0100 Subject: [PATCH] remove rspamd socket --- mail-server/rspamd.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mail-server/rspamd.nix b/mail-server/rspamd.nix index 950ae56..fd3bfaf 100644 --- a/mail-server/rspamd.nix +++ b/mail-server/rspamd.nix @@ -21,15 +21,12 @@ let postfixCfg = config.services.postfix; rspamdCfg = config.services.rspamd; - rspamdSocket = if rspamdCfg.socketActivation - then "rspamd-rspamd_proxy-1.socket" - else "rspamd.service"; + rspamdSocket = "rspamd.service"; in { config = with cfg; lib.mkIf enable { services.rspamd = { enable = true; - socketActivation = false; extraConfig = '' extended_spam_headers = yes; '' + (lib.optionalString cfg.virusScanning ''