2
0
Эх сурвалжийг харах

[Rspamd] Create bad header map

andryyy 4 жил өмнө
parent
commit
f81483d312

+ 0 - 1
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

+ 1 - 0
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'
   )
 );