mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-03-02 02:45:40 +08:00
updated spam headers
This commit is contained in:
parent
4958c2a13d
commit
29c4d22635
2 changed files with 14 additions and 0 deletions
|
@ -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"
|
||||
|
|
|
@ -18,6 +18,13 @@ const defaultSpamHeaderKeys = [
|
|||
value: '^yes',
|
||||
target: '\\Junk'
|
||||
},
|
||||
|
||||
{
|
||||
key: 'X-Rspamd-Bar',
|
||||
value: '^\\+{6}',
|
||||
target: '\\Junk'
|
||||
},
|
||||
|
||||
{
|
||||
key: 'X-Haraka-Virus',
|
||||
value: '.',
|
||||
|
|
Loading…
Reference in a new issue