]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Slightly increase weight of URL_IN_SUBJECT rule
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 16 Apr 2017 19:54:54 +0000 (20:54 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 16 Apr 2017 19:54:54 +0000 (20:54 +0100)
rules/misc.lua

index 6e43667884b9a05c5ee4140980071883fc01b92a..58bef7f11e9ff596be485cfe62f43bdd4fb0f18f 100644 (file)
@@ -380,14 +380,14 @@ rspamd_config.URL_IN_SUBJECT = {
               return true,1.0,u:get_host()
             end
           end
-          return true,0.5,u:get_host()
+          return true,0.25,u:get_host()
         end
       end
     end
 
     return false
   end,
-  score = 2.0,
+  score = 4.0,
   description = 'Url found in Subject'
 }