aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorVictor Nawothnig <dminuoso+git@icloud.com>2021-10-15 02:06:16 +0200
committerVictor Nawothnig <dminuoso+git@icloud.com>2021-10-15 02:10:06 +0200
commit14530e6a7c37eecc7c2441000006b423368b171f (patch)
treed0b10cae5012e5a3e5cc130bee06318f6cf9ba96 /conf
parent57bf1e47ddbda63545fdf33a312062d7f41c812e (diff)
downloadrspamd-14530e6a7c37eecc7c2441000006b423368b171f.tar.gz
rspamd-14530e6a7c37eecc7c2441000006b423368b171f.zip
[Feature] Add junk_threshold for autolearn
Diffstat (limited to 'conf')
-rw-r--r--conf/statistic.conf5
1 files changed, 3 insertions, 2 deletions
diff --git a/conf/statistic.conf b/conf/statistic.conf
index 60b6dcb3e..5fea48320 100644
--- a/conf/statistic.conf
+++ b/conf/statistic.conf
@@ -44,8 +44,9 @@ classifier "bayes" {
# Autolearn sample
# autolearn {
- # spam_threshold = 6.0; # When to learn spam (score >= threshold)
- # ham_threshold = -0.5; # When to learn ham (score <= threshold)
+ # spam_threshold = 6.0; # When to learn spam (score >= threshold and action is reject)
+ # junk_threshold = 4.0; # When to learn spam (score >= threshold and action is rewrite subject or add header, and has two or more positive results)
+ # ham_threshold = -0.5; # When to learn ham (score <= threshold and action is no action, and score is negative or has three or more negative results)
# check_balance = true; # Check spam and ham balance
# min_balance = 0.9; # Keep diff for spam/ham learns for at least this value
#}