aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2016-09-23 15:58:54 +0200
committerAndrew Lewis <nerf@judo.za.org>2016-09-23 15:58:54 +0200
commit016e7af4a4eab96fd98a5bee4ae8781bf0b4755b (patch)
tree9a3a0a27139fee4a4cccfaffe6667ee2cd4752ac
parentadecd4884dab63de2a43406467155f92dde6a358 (diff)
downloadrspamd-016e7af4a4eab96fd98a5bee4ae8781bf0b4755b.tar.gz
rspamd-016e7af4a4eab96fd98a5bee4ae8781bf0b4755b.zip
[Feature] Rules for scoring Google Message-ID fixes
-rw-r--r--rules/regexp/headers.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/rules/regexp/headers.lua b/rules/regexp/headers.lua
index 4aa89e46e..085994037 100644
--- a/rules/regexp/headers.lua
+++ b/rules/regexp/headers.lua
@@ -789,3 +789,17 @@ reconf['X_PHP_EVAL'] = {
description = "Message sent by eval()'d PHP code",
group = 'header'
}
+
+reconf['GOOGLE_FORWARDING_MID_MISSING'] = {
+ re = "Message-ID=/SMTPIN_ADDED_MISSING\\@mx\\.google\\.com>$/X",
+ score = 2.5,
+ description = "Message was missing Message-ID pre-forwarding",
+ group = 'header'
+}
+
+reconf['GOOGLE_FORWARDING_MID_BROKEN'] = {
+ re = "Message-ID=/SMTPIN_ADDED_BROKEN\\@mx\\.google\\.com>$/X",
+ score = 1.7,
+ description = "Message had invalid Message-ID pre-forwarding",
+ group = 'header'
+}