From 0d0c49e0f3b49a7cc723d94b5f17ac21427da256 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20D=C3=B6rfler?= Date: Sat, 30 Jan 2021 12:23:53 +0000 Subject: [PATCH] Disabled reject action in rspamd (cherry picked from commit a191bc2dc2235f79ad438603269fafdfab7edef6) --- mail-server/rspamd.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/mail-server/rspamd.nix b/mail-server/rspamd.nix index 371edde..17b8333 100644 --- a/mail-server/rspamd.nix +++ b/mail-server/rspamd.nix @@ -42,6 +42,14 @@ in backend = "redis"; } ''; }; + "actions.conf" = { + text = '' + reject = null; # Disable rejects, default is 15 + add_header = 6; # Add header when reaching this score + greylist = 4; # Apply greylisting when reaching this score (will emit `soft reject action`) + + ''; + }; "antivirus.conf" = lib.mkIf cfg.virusScanning { text = '' clamav { action = "reject";