Bläddra i källkod

[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.
tags/1.7.0
Felix Schwarz 6 år sedan
förälder
incheckning
f7b29f13c2
1 ändrade filer med 7 tillägg och 0 borttagningar
  1. 7
    0
      rules/regexp/upstream_spam_filters.lua

+ 7
- 0
rules/regexp/upstream_spam_filters.lua Visa fil

@@ -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'
}

Laddar…
Avbryt
Spara