From 943730de477c265b8081405932a66bd24dc6e82e Mon Sep 17 00:00:00 2001 From: andryyy Date: Sat, 12 Sep 2020 20:11:18 +0200 Subject: [PATCH] [Rspamd] Add filter to global mime black- and whitelists to only match addr --- data/conf/rspamd/local.d/multimap.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/data/conf/rspamd/local.d/multimap.conf b/data/conf/rspamd/local.d/multimap.conf index aa4ef11a..0f8ba150 100644 --- a/data/conf/rspamd/local.d/multimap.conf +++ b/data/conf/rspamd/local.d/multimap.conf @@ -60,6 +60,7 @@ GLOBAL_SMTP_FROM_BL { GLOBAL_MIME_FROM_WL { type = "header"; header = "from"; + filter = "email:addr"; map = "${LOCAL_CONFDIR}/custom/global_mime_from_whitelist.map"; regexp = true; score = -2050; @@ -68,6 +69,7 @@ GLOBAL_MIME_FROM_WL { GLOBAL_MIME_FROM_BL { type = "header"; header = "from"; + filter = "email:addr"; map = "${LOCAL_CONFDIR}/custom/global_mime_from_blacklist.map"; regexp = true; prefilter = true;