public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Commit
[Rspamd] Create bad header map
f81483d3
data/conf/rspamd/custom/bulk_header.map | 1 -
data/web/inc/vars.inc.php | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
Diff
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'
)
);