aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-12-26 12:09:03 +0000
committerGitHub <noreply@github.com>2018-12-26 12:09:03 +0000
commit263ae1f2809372170751719c5288fffae6993375 (patch)
treeaad7c1031941930fb0d15a2ef40e1983dd7ca310
parente59e7c632a6a71c9b4cc0b9cea0e14fad079bb2f (diff)
parent42bef43e11c8e3df800660a69916f4d920bd1567 (diff)
downloadrspamd-263ae1f2809372170751719c5288fffae6993375.tar.gz
rspamd-263ae1f2809372170751719c5288fffae6993375.zip
Merge pull request #2696 from moisseev/klms
[Minor] Check for Kaspersky Security for Mail Server spam flag
-rw-r--r--rules/regexp/upstream_spam_filters.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/rules/regexp/upstream_spam_filters.lua b/rules/regexp/upstream_spam_filters.lua
index e8f5682a6..4c457428a 100644
--- a/rules/regexp/upstream_spam_filters.lua
+++ b/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',