aboutsummaryrefslogtreecommitdiffstats
path: root/rules/regexp
diff options
context:
space:
mode:
authorFelix Schwarz <felix.schwarz@oss.schwarz.eu>2017-11-15 09:24:51 +0100
committerFelix Schwarz <felix.schwarz@oss.schwarz.eu>2017-11-15 09:25:18 +0100
commitf7b29f13c21435623dc777da2475c0899d600f21 (patch)
treea3e6c7ac4c7ddd21042cccd0a721264d8dac3450 /rules/regexp
parentd5dfa4749c8ff965e323956aae592cdf873a33ab (diff)
downloadrspamd-f7b29f13c21435623dc777da2475c0899d600f21.tar.gz
rspamd-f7b29f13c21435623dc777da2475c0899d600f21.zip
[Minor] check for spam flag from United Internet
This header is present for most outgoing messages from United Internet which includes "web.de" and GMX (freemailers which are very popular in Germany) as well as messages sent from 1and1 webhosting packages.
Diffstat (limited to 'rules/regexp')
-rw-r--r--rules/regexp/upstream_spam_filters.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/rules/regexp/upstream_spam_filters.lua b/rules/regexp/upstream_spam_filters.lua
index be792a318..f96d293d3 100644
--- a/rules/regexp/upstream_spam_filters.lua
+++ b/rules/regexp/upstream_spam_filters.lua
@@ -46,3 +46,10 @@ reconf['SPAM_FLAG'] = {
description = "Message was already marked as spam",
group = 'upstream_spam_filters'
}
+
+reconf['UNITEDINTERNET_SPAM'] = {
+ re = 'X-UI-Out-Filterresults=/^junk:/H',
+ score = 5,
+ description = "United Internet says this message is spam",
+ group = 'upstream_spam_filters'
+}