We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f973496 commit 1aab22dCopy full SHA for 1aab22d
1 file changed
server/conf/rspamd_classifier-bayes.conf.master
@@ -6,8 +6,9 @@ servers = "<tmpl_var name='rspamd_redis_bayes_servers'>";
6
password = "<tmpl_var name='rspamd_redis_bayes_password'>";
7
</tmpl_if>
8
autolearn {
9
- spam_threshold = 6.0;
10
- 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)
11
+ 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)
12
check_balance = true; # Check spam and ham balance
13
min_balance = 0.9; # Keep diff for spam/ham learns for at least this value
14
}
0 commit comments