Pārlūkot izejas kodu

[Rspamd] Rate .doc with +10, decrease default bayes ham score

andryyy 5 gadi atpakaļ
vecāks
revīzija
5a0df09361

+ 1 - 0
data/conf/rspamd/local.d/mime_types.conf

@@ -10,6 +10,7 @@ bad_extensions = {
   ace = 4,
   arj = 4,
   cab = 3,
+  doc = 10,
 };
 
 # Extensions that are particularly penalized for archives

+ 1 - 1
data/conf/rspamd/local.d/statistics_group.conf

@@ -4,7 +4,7 @@ symbols = {
         description = "Message probably spam, probability: ";
     }
     "BAYES_HAM" {
-        weight = -10.5;
+        weight = -5.5;
         description = "Message probably ham, probability: ";
     }
 }