]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Reduce scoring on some rules 1204/head
authorAndrew Lewis <nerf@judo.za.org>
Tue, 29 Nov 2016 12:30:47 +0000 (14:30 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Tue, 29 Nov 2016 12:30:47 +0000 (14:30 +0200)
rules/html.lua
rules/regexp/headers.lua

index 25578723ef294102ca7900626aafe8abfefdd4a1..ad9bd4d42985d14b8b8cb9d150e34c6732de065d 100644 (file)
@@ -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'
 }
index 9c47eaeefcfb33913bc65009d8009e9538f1aec6..5118a5b9b7a70f98bc8d26bbc1f80f67bef4b7bf 100644 (file)
@@ -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'
 }