updated spam headers

This commit is contained in:
Andris Reinman 2017-10-25 15:58:00 +03:00
parent 4958c2a13d
commit 29c4d22635
2 changed files with 14 additions and 0 deletions

View file

@ -17,6 +17,13 @@ key="X-Rspamd-Spam"
value="^yes"
target="\\Junk"
# Treat as spam if message has header with 6 or more plus signs:
# X-Rspamd-Bar: ++++++
[[spamHeader]]
key="X-Rspamd-Bar"
value="^\\+{6}"
target="\\Junk"
[[spamHeader]]
# If this header has a value, then it contains a virus, treat as spam
key="X-Haraka-Virus"

View file

@ -18,6 +18,13 @@ const defaultSpamHeaderKeys = [
value: '^yes',
target: '\\Junk'
},
{
key: 'X-Rspamd-Bar',
value: '^\\+{6}',
target: '\\Junk'
},
{
key: 'X-Haraka-Virus',
value: '.',