From 64e0860e3e9ff51c0518fc376c8c6cc6b664cd96 Mon Sep 17 00:00:00 2001 From: Dmitriy Alekseev <1865999+dragoangel@users.noreply.github.com> Date: Mon, 29 Jul 2024 14:19:59 +0200 Subject: [PATCH 1/3] Update statistic.conf --- conf/statistic.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/statistic.conf b/conf/statistic.conf index 0ba8302e8..c55506d02 100644 --- a/conf/statistic.conf +++ b/conf/statistic.conf @@ -19,6 +19,8 @@ # Module documentation: https://rspamd.com/doc/configuration/statistic.html classifier "bayes" { + # name must be set if multiply classifiers presented + # name = "bayes"; tokenizer { name = "osb"; } From e7f64465f39e0cc4113f3f45831c44880648aa6d Mon Sep 17 00:00:00 2001 From: Dmitriy Alekseev <1865999+dragoangel@users.noreply.github.com> Date: Mon, 29 Jul 2024 15:01:44 +0200 Subject: [PATCH 2/3] Update statistic.conf --- conf/statistic.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/conf/statistic.conf b/conf/statistic.conf index c55506d02..6fa2c03c8 100644 --- a/conf/statistic.conf +++ b/conf/statistic.conf @@ -19,8 +19,7 @@ # Module documentation: https://rspamd.com/doc/configuration/statistic.html classifier "bayes" { - # name must be set if multiply classifiers presented - # name = "bayes"; + # name = "bayes"; # 'name' parameter must be set if multiple classifiers are defined tokenizer { name = "osb"; } From e9f072bc6206a91a1101e24d5c259031fe2c45c6 Mon Sep 17 00:00:00 2001 From: Dmitriy Alekseev <1865999+dragoangel@users.noreply.github.com> Date: Mon, 29 Jul 2024 19:29:01 +0200 Subject: [PATCH 3/3] Update conf/statistic.conf Co-authored-by: Vsevolod Stakhov --- conf/statistic.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/statistic.conf b/conf/statistic.conf index 6fa2c03c8..36d418935 100644 --- a/conf/statistic.conf +++ b/conf/statistic.conf @@ -19,7 +19,7 @@ # Module documentation: https://rspamd.com/doc/configuration/statistic.html classifier "bayes" { - # name = "bayes"; # 'name' parameter must be set if multiple classifiers are defined + # name = "custom"; # 'name' parameter must be set if multiple classifiers are defined tokenizer { name = "osb"; }