]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Use modern bayes configuration
authorVsevolod Stakhov <vsevolod@rspamd.com>
Wed, 23 Jul 2025 14:17:25 +0000 (15:17 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Wed, 23 Jul 2025 14:17:25 +0000 (15:17 +0100)
conf/statistic.conf

index 36d418935ec69a20517e6141956eab97cfeb7f64..3ba460ff3ca2663a961d6a6b786fe47977c5c7e7 100644 (file)
@@ -35,11 +35,11 @@ classifier "bayes" {
 
   statfile {
     symbol = "BAYES_HAM";
-    spam = false;
+    class = "ham";
   }
   statfile {
     symbol = "BAYES_SPAM";
-    spam = true;
+    class = "spam";
   }
   learn_condition = 'return require("lua_bayes_learn").can_learn';