From: Vsevolod Stakhov Date: Tue, 16 Sep 2025 15:26:07 +0000 (+0100) Subject: Revert "[Minor] Use modern bayes configuration" X-Git-Tag: 3.13.0~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=247eadbcd105eef4c9073f1ff92aec3ad0e83fa4;p=thirdparty%2Frspamd.git Revert "[Minor] Use modern bayes configuration" This reverts commit 42ea8dfbdb742c1d94d36b97139a4229104fe08f. --- diff --git a/conf/statistic.conf b/conf/statistic.conf index 3ba460ff3c..36d418935e 100644 --- a/conf/statistic.conf +++ b/conf/statistic.conf @@ -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';