commit 44d8320: [Minor] Regexp: Extend upstream spam filter regexp
Sebastian Lipponer
mail at sebastianlipponer.de
Mon Aug 23 09:21:04 UTC 2021
Author: Sebastian Lipponer
Date: 2021-08-21 11:37:00 +0200
URL: https://github.com/rspamd/rspamd/commit/44d83209e2269d68d56d11a517e170d331afc184 (refs/pull/3854/head)
[Minor] Regexp: Extend upstream spam filter regexp
---
rules/regexp/upstream_spam_filters.lua | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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'
More information about the Commits
mailing list