From c631b135940a31b08ef6f7b1e4746321c99b112d Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 10 May 2018 15:35:43 +0100 Subject: [PATCH] [Minor] Add more headers to the upstream_spam_filters Issue: #2235 --- rules/regexp/upstream_spam_filters.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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' -- 2.39.5