From: Vsevolod Stakhov Date: Fri, 12 Mar 2021 21:29:01 +0000 (+0000) Subject: [Rules] Reduce default weight for R_MISSING_CHARSET X-Git-Tag: 3.0~587 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=99c27fc7bec4217ebd2514adac9e2b9c7f129984;p=thirdparty%2Frspamd.git [Rules] Reduce default weight for R_MISSING_CHARSET --- diff --git a/rules/regexp/headers.lua b/rules/regexp/headers.lua index f606778bab..a9ab6c975d 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,