]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Revert "[Minor] Use modern bayes configuration"
authorVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 16 Sep 2025 15:26:07 +0000 (16:26 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 16 Sep 2025 15:26:07 +0000 (16:26 +0100)
This reverts commit 42ea8dfbdb742c1d94d36b97139a4229104fe08f.

conf/statistic.conf

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