summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-03-12 21:29:01 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-03-12 21:29:01 +0000
commit99c27fc7bec4217ebd2514adac9e2b9c7f129984 (patch)
treef346204f8fd2b31628e3480c922150d3cd9d8f41 /rules
parent3377d26289d64f828169c6dfbf4c71b3f5cdea09 (diff)
downloadrspamd-99c27fc7bec4217ebd2514adac9e2b9c7f129984.tar.gz
rspamd-99c27fc7bec4217ebd2514adac9e2b9c7f129984.zip
[Rules] Reduce default weight for R_MISSING_CHARSET
Diffstat (limited to 'rules')
-rw-r--r--rules/regexp/headers.lua2
1 files changed, 1 insertions, 1 deletions
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,