]> source.dussan.org Git - rspamd.git/commitdiff
[Rules] Reduce default weight for R_MISSING_CHARSET
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 12 Mar 2021 21:29:01 +0000 (21:29 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 12 Mar 2021 21:29:01 +0000 (21:29 +0000)
rules/regexp/headers.lua

index f606778bab26510353b8f35dd1f9687981e9f3e0..a9ab6c975d3a5a33539db5a4be3be268c496e420 100644 (file)
@@ -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,