]> source.dussan.org Git - rspamd.git/commitdiff
[Feature] Rules for scoring Google Message-ID fixes 976/head
authorAndrew Lewis <nerf@judo.za.org>
Fri, 23 Sep 2016 13:58:54 +0000 (15:58 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Fri, 23 Sep 2016 13:58:54 +0000 (15:58 +0200)
rules/regexp/headers.lua

index 4aa89e46e5477ce9cd45f62331a7063024827093..085994037ebdb679ded3adf8aa9635a43204a282 100644 (file)
@@ -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'
+}