From 99c27fc7bec4217ebd2514adac9e2b9c7f129984 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 12 Mar 2021 21:29:01 +0000 Subject: [PATCH] [Rules] Reduce default weight for R_MISSING_CHARSET --- rules/regexp/headers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/regexp/headers.lua b/rules/regexp/headers.lua index f606778ba..a9ab6c975 100644 --- a/rules/regexp/headers.lua +++ b/rules/regexp/headers.lua @@ -147,7 +147,7 @@ reconf['R_RCVD_SPAMBOTS'] = { reconf['R_MISSING_CHARSET'] = { re = string.format('!is_empty_body() & content_type_is_type(text) & content_type_is_subtype(plain) & !content_type_has_param(charset) & !%s', 'compare_transfer_encoding(7bit)'), - score = 2.5, + score = 0.5, description = 'Charset is missing in a message', group = 'headers', mime_only = true, -- 2.39.5