From: Andrew Lewis Date: Fri, 23 Sep 2016 13:58:54 +0000 (+0200) Subject: [Feature] Rules for scoring Google Message-ID fixes X-Git-Tag: 1.4.0~385^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=016e7af4a4eab96fd98a5bee4ae8781bf0b4755b;p=rspamd.git [Feature] Rules for scoring Google Message-ID fixes --- 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' +}