From: Felix Schwarz Date: Wed, 15 Nov 2017 08:24:51 +0000 (+0100) Subject: [Minor] check for spam flag from United Internet X-Git-Tag: 1.7.0~425^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F1925%2Fhead;p=rspamd.git [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. --- 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' +}