commit 42bef43: [Minor] Check for Kaspersky Security for Mail Server spam flag
Alexander Moisseev
moiseev at mezonplus.ru
Thu Dec 27 18:28:13 UTC 2018
Author: Alexander Moisseev
Date: 2018-12-25 18:45:55 +0300
URL: https://github.com/rspamd/rspamd/commit/42bef43e11c8e3df800660a69916f4d920bd1567 (refs/pull/2696/head)
[Minor] Check for Kaspersky Security for Mail Server spam flag
---
rules/regexp/upstream_spam_filters.lua | 7 +++++++
1 file changed, 7 insertions(+)
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',
More information about the Commits
mailing list