]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] check for spam flag from United Internet 1925/head
authorFelix Schwarz <felix.schwarz@oss.schwarz.eu>
Wed, 15 Nov 2017 08:24:51 +0000 (09:24 +0100)
committerFelix Schwarz <felix.schwarz@oss.schwarz.eu>
Wed, 15 Nov 2017 08:25:18 +0000 (09:25 +0100)
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

index be792a318f52569a0950c0db7a7e35d4904d8d8a..f96d293d32ebcb0c27777160ff8311858164d309 100644 (file)
@@ -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'
+}