From f81483d3126884d5ccf01b285754483021dbabb9 Mon Sep 17 00:00:00 2001 From: andryyy Date: Sun, 23 May 2021 23:13:34 +0200 Subject: [PATCH] [Rspamd] Create bad header map --- data/conf/rspamd/custom/bulk_header.map | 1 - data/web/inc/vars.inc.php | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/data/conf/rspamd/custom/bulk_header.map b/data/conf/rspamd/custom/bulk_header.map index fbe582ca..e9dc206f 100644 --- a/data/conf/rspamd/custom/bulk_header.map +++ b/data/conf/rspamd/custom/bulk_header.map @@ -17,4 +17,3 @@ /.*light-house-traffic.*/i /.*newsletterplus.*/i /.*X-Chpo.*/i -/Thread-Topic:\s[a-zA-Z]{3}\s[a-zA-Z]{2}\s*$/i diff --git a/data/web/inc/vars.inc.php b/data/web/inc/vars.inc.php index 3c78c308..33df0d7b 100644 --- a/data/web/inc/vars.inc.php +++ b/data/web/inc/vars.inc.php @@ -200,6 +200,7 @@ $RSPAMD_MAPS = array( 'Bad Words DE (only fired in combination with fishy TLDs)' => 'bad_words_de.map', 'Bad Languages' => 'bad_languages.map', 'Bulk Mail Headers' => 'bulk_header.map', + 'Bad (Junk) Mail Headers' => 'bad_header.map', 'Monitoring Hosts' => 'monitoring_nolog.map' ) );