Browse Source

Merge pull request #2696 from moisseev/klms

[Minor] Check for Kaspersky Security for Mail Server spam flag
tags/1.9.0
Vsevolod Stakhov 5 years ago
parent
commit
263ae1f280
No account linked to committer's email address
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      rules/regexp/upstream_spam_filters.lua

+ 7
- 0
rules/regexp/upstream_spam_filters.lua View File

@@ -40,6 +40,13 @@ reconf['AOL_SPAM'] = {
group = 'upstream_spam_filters'
}

reconf['KLMS_SPAM'] = {
re = 'X-KLMS-AntiSpam-Status=/^spam/H',
score = 5,
description = "Kaspersky Security for Mail Server says this message is spam",
group = 'upstream_spam_filters'
}

reconf['SPAM_FLAG'] = {
re = string.format('%s || %s || %s',
'X-Spam-Flag=/^(?:yes|true)/Hi',

Loading…
Cancel
Save