瀏覽代碼

Merge pull request #2696 from moisseev/klms

[Minor] Check for Kaspersky Security for Mail Server spam flag
tags/1.9.0
Vsevolod Stakhov 5 年之前
父節點
當前提交
263ae1f280
No account linked to committer's email address
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7
    0
      rules/regexp/upstream_spam_filters.lua

+ 7
- 0
rules/regexp/upstream_spam_filters.lua 查看文件

@@ -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…
取消
儲存