From: Vsevolod Stakhov Date: Thu, 10 May 2018 14:35:43 +0000 (+0100) Subject: [Minor] Add more headers to the upstream_spam_filters X-Git-Tag: 1.7.5~53 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c631b135940a31b08ef6f7b1e4746321c99b112d;p=rspamd.git [Minor] Add more headers to the upstream_spam_filters Issue: #2235 --- diff --git a/rules/regexp/upstream_spam_filters.lua b/rules/regexp/upstream_spam_filters.lua index dc0f14bcd..c45f5c9a9 100644 --- a/rules/regexp/upstream_spam_filters.lua +++ b/rules/regexp/upstream_spam_filters.lua @@ -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'