aboutsummaryrefslogtreecommitdiffstats
path: root/rules/regexp
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-05-10 15:35:43 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-05-10 15:35:43 +0100
commitc631b135940a31b08ef6f7b1e4746321c99b112d (patch)
treedb210a9ac127dc90ac4060e6a4707c849903e065 /rules/regexp
parent3248490bf53a4cb30d800d21192ed6f6ec91ba3a (diff)
downloadrspamd-c631b135940a31b08ef6f7b1e4746321c99b112d.tar.gz
rspamd-c631b135940a31b08ef6f7b1e4746321c99b112d.zip
[Minor] Add more headers to the upstream_spam_filters
Issue: #2235
Diffstat (limited to 'rules/regexp')
-rw-r--r--rules/regexp/upstream_spam_filters.lua5
1 files changed, 4 insertions, 1 deletions
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'