From d5ee7de66af4bf6f56c39e7b90b762dbee596104 Mon Sep 17 00:00:00 2001 From: andryyy Date: Sun, 20 Oct 2019 21:48:30 +0200 Subject: [PATCH] [Rspamd] Disable info logging, re-enable silent logging, only apply MILTER_HEADERS symbol to watchdog Rspamd settings map --- data/conf/rspamd/dynmaps/settings.php | 2 ++ data/conf/rspamd/override.d/logging.inc | 1 + 2 files changed, 3 insertions(+) diff --git a/data/conf/rspamd/dynmaps/settings.php b/data/conf/rspamd/dynmaps/settings.php index 0bf9f519..cf77b990 100644 --- a/data/conf/rspamd/dynmaps/settings.php +++ b/data/conf/rspamd/dynmaps/settings.php @@ -131,11 +131,13 @@ settings { rcpt_mime = "/null@localhost/i"; from_mime = "/watchdog@localhost/i"; apply "default" { + symbols_enabled = ["MILTER_HEADERS"]; actions { reject = 9999.0; greylist = 9998.0; "add header" = 9997.0; } + } }