]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Add more headers to the upstream_spam_filters
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 10 May 2018 14:35:43 +0000 (15:35 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 10 May 2018 14:35:43 +0000 (15:35 +0100)
Issue: #2235

rules/regexp/upstream_spam_filters.lua

index dc0f14bcdc1ba35a4cf40fe9b43b08342bae3b61..c45f5c9a9801368c40f8cdbb88743730b187cd56 100644 (file)
@@ -41,7 +41,10 @@ reconf['AOL_SPAM'] = {
 }
 
 reconf['SPAM_FLAG'] = {
-    re = string.format('%s || %s', 'X-Spam-Flag=/^(?:yes|true)/Hi', 'X-Spam=/^yes$/Hi'),
+    re = string.format('%s || %s || %s',
+        'X-Spam-Flag=/^(?:yes|true)/Hi',
+        'X-Spam=/^(?:yes|true)/Hi',
+        'X-Spam-Status=/^(?:yes|true)/Hi'),
     score = 5,
     description = "Message was already marked as spam",
     group = 'upstream_spam_filters'