diff options
-rw-r--r-- | rules/html.lua | 2 | ||||
-rw-r--r-- | rules/regexp/headers.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/rules/html.lua b/rules/html.lua index 25578723e..ad9bd4d42 100644 --- a/rules/html.lua +++ b/rules/html.lua @@ -59,7 +59,7 @@ rspamd_config.HTML_SHORT_LINK_IMG_1 = { callback = function(task) return check_html_image(task, 0, 1024) end, - score = 3.0, + score = 2.0, group = 'html', description = 'Short html part (0..1K) with a link to an image' } diff --git a/rules/regexp/headers.lua b/rules/regexp/headers.lua index 9c47eaeef..5118a5b9b 100644 --- a/rules/regexp/headers.lua +++ b/rules/regexp/headers.lua @@ -66,7 +66,7 @@ local r_cte_7bit = 'compare_transfer_encoding(7bit)' local r_body_8bit = '/[^\\x01-\\x7f]/Qr' reconf['R_BAD_CTE_7BIT'] = { re = string.format('(%s) & (%s) & (%s)', r_ctype_text, r_cte_7bit, r_body_8bit), - score = 3.0, + score = 2.0, description = 'Detects bad content-transfer-encoding for text parts', group = 'header' } |