diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-09-23 16:11:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-23 16:11:01 +0100 |
commit | bf1b4bbe3dac782935c110e7e7673317639093db (patch) | |
tree | 9551749ff2e458f4f73b6c0f9d4956bd09e7b489 | |
parent | e7572192bf90631ba745fdc07c505f6935e52708 (diff) | |
parent | 016e7af4a4eab96fd98a5bee4ae8781bf0b4755b (diff) | |
download | rspamd-bf1b4bbe3dac782935c110e7e7673317639093db.tar.gz rspamd-bf1b4bbe3dac782935c110e7e7673317639093db.zip |
Merge pull request #976 from fatalbanana/google
[Feature] Rules for scoring Google Message-ID fixes
-rw-r--r-- | rules/regexp/headers.lua | 14 |
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' +} |