From: Alexander Moisseev Date: Tue, 25 Dec 2018 15:45:55 +0000 (+0300) Subject: [Minor] Check for Kaspersky Security for Mail Server spam flag X-Git-Tag: 1.9.0~382^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F2696%2Fhead;p=thirdparty%2Frspamd.git [Minor] Check for Kaspersky Security for Mail Server spam flag --- diff --git a/rules/regexp/upstream_spam_filters.lua b/rules/regexp/upstream_spam_filters.lua index e8f5682a6e..4c457428ad 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',