aboutsummaryrefslogtreecommitdiffstats
path: root/rules/regexp/headers.lua
diff options
context:
space:
mode:
authorSteve Freegard <steve@stevefreegard.com>2016-11-29 16:26:45 +0000
committerSteve Freegard <steve@stevefreegard.com>2016-11-29 16:26:45 +0000
commit77292906d5658dd289040224d3a29b2c427d97ed (patch)
treeea7b4ebe02cb00d9dc7085df0b41122c413d4b26 /rules/regexp/headers.lua
parent78b0d7d6d4a0fae8c1672348da26842b0ab3976b (diff)
downloadrspamd-77292906d5658dd289040224d3a29b2c427d97ed.tar.gz
rspamd-77292906d5658dd289040224d3a29b2c427d97ed.zip
Adjust scores and add new rules
Diffstat (limited to 'rules/regexp/headers.lua')
-rw-r--r--rules/regexp/headers.lua10
1 files changed, 9 insertions, 1 deletions
diff --git a/rules/regexp/headers.lua b/rules/regexp/headers.lua
index 5118a5b9b..fdc2fb043 100644
--- a/rules/regexp/headers.lua
+++ b/rules/regexp/headers.lua
@@ -828,7 +828,7 @@ reconf['HAS_INTERSPIRE_SIG'] = {
'header_exists(X-Mailer-Sent-By)',
'List-Unsubscribe=/\\/unsubscribe\\.php\\?M=[^&]+&C=[^&]+&L=[^&]+&N=[^>]+>$/Xi'),
description = "Has Interspire fingerprint",
- score = 3.0,
+ score = 1.0,
group = 'header'
}
@@ -887,3 +887,11 @@ reconf['HAS_ORG_HEADER'] = {
score = 0.0,
group = 'headers'
}
+
+reconf['X_PHPOS_FAKE'] = {
+ re = 'X-PHP-Originating-Script=/^\\d{7}:/Hi',
+ description = 'Fake X-PHP-Originating-Script header',
+ score = 3.0,
+ group = 'headers'
+}
+