]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Check for Kaspersky Security for Mail Server spam flag 2696/head
authorAlexander Moisseev <moiseev@mezonplus.ru>
Tue, 25 Dec 2018 15:45:55 +0000 (18:45 +0300)
committerAlexander Moisseev <moiseev@mezonplus.ru>
Tue, 25 Dec 2018 15:58:16 +0000 (18:58 +0300)
rules/regexp/upstream_spam_filters.lua

index e8f5682a6e967513f18953e284550491643894ae..4c457428ad4f1a6a07401c78f37885710a90496d 100644 (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',