aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-07-24 15:05:26 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-07-24 15:05:26 +0100
commitc361d4c3ec2dd6499bc6c4da4790376074d8779a (patch)
treec5f0a4a934ac68bba05763fbed83d0668c9838b3 /conf
parente1fadcc80b5f6a3d566224b0ed1a74d7a9dbc9ed (diff)
downloadrspamd-c361d4c3ec2dd6499bc6c4da4790376074d8779a.tar.gz
rspamd-c361d4c3ec2dd6499bc6c4da4790376074d8779a.zip
[Conf] Show autolearn sample
Diffstat (limited to 'conf')
-rw-r--r--conf/statistic.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/conf/statistic.conf b/conf/statistic.conf
index 396564a23..0d76cd399 100644
--- a/conf/statistic.conf
+++ b/conf/statistic.conf
@@ -43,6 +43,14 @@ classifier "bayes" {
}
learn_condition = 'return require("lua_bayes_learn").can_learn';
+ # Autolearn sample
+ # autolearn {
+ # spam_threshold = 6.0; # When to learn spam (score >= threshold)
+ # ham_threshold = -0.5; # When to learn ham (score <= threshold)
+ # check_balance = true; # Check spam and ham balance
+ # min_balance = 0.9; # Keep diff for spam/ham learns for at least this value
+ #}
+
.include(try=true; priority=1) "$LOCAL_CONFDIR/local.d/classifier-bayes.conf"
.include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/classifier-bayes.conf"
}