From: Vsevolod Stakhov Date: Wed, 23 Jul 2025 14:17:25 +0000 (+0100) Subject: [Minor] Use modern bayes configuration X-Git-Tag: 3.13.0~38^2~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42ea8dfbdb742c1d94d36b97139a4229104fe08f;p=thirdparty%2Frspamd.git [Minor] Use modern bayes configuration --- diff --git a/conf/statistic.conf b/conf/statistic.conf index 36d418935e..3ba460ff3c 100644 --- a/conf/statistic.conf +++ b/conf/statistic.conf @@ -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';