From f7b29f13c21435623dc777da2475c0899d600f21 Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Wed, 15 Nov 2017 09:24:51 +0100 Subject: [PATCH] [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. --- rules/regexp/upstream_spam_filters.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/rules/regexp/upstream_spam_filters.lua b/rules/regexp/upstream_spam_filters.lua index be792a318f..f96d293d32 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' +} -- 2.47.3