aboutsummaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorSebastian Lipponer <mail@sebastianlipponer.de>2021-08-21 11:37:00 +0200
committerSebastian Lipponer <mail@sebastianlipponer.de>2021-08-21 11:43:30 +0200
commit44d83209e2269d68d56d11a517e170d331afc184 (patch)
treeb616f3f892b3476edf81b659d938fa436e84b2e8 /rules
parentebb10e3c0dba4c21f71f76b370898023f1b22e98 (diff)
downloadrspamd-44d83209e2269d68d56d11a517e170d331afc184.tar.gz
rspamd-44d83209e2269d68d56d11a517e170d331afc184.zip
[Minor] Regexp: Extend upstream spam filter regexp
Diffstat (limited to 'rules')
-rw-r--r--rules/regexp/upstream_spam_filters.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/rules/regexp/upstream_spam_filters.lua b/rules/regexp/upstream_spam_filters.lua
index 8c737e7c6..03929326c 100644
--- a/rules/regexp/upstream_spam_filters.lua
+++ b/rules/regexp/upstream_spam_filters.lua
@@ -51,7 +51,9 @@ reconf['SPAM_FLAG'] = {
}
reconf['UNITEDINTERNET_SPAM'] = {
- re = 'X-UI-Out-Filterresults=/^junk:/H',
+ re = string.format('%s || %s',
+ 'X-UI-Filterresults=/^junk:/H',
+ 'X-UI-Out-Filterresults=/^junk:/H'),
score = 5.0,
description = "United Internet says this message is spam",
group = 'upstream_spam_filters'