File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,9 @@ servers = "<tmpl_var name='rspamd_redis_bayes_servers'>";
66password = "<tmpl_var name='rspamd_redis_bayes_password'>";
77</tmpl_if>
88autolearn {
9- spam_threshold = 6.0;
10- ham_threshold = -0.5; # When to learn ham (score <= threshold)
9+ spam_threshold = 6.0; # When to learn spam (score >= threshold and action is reject)
10+ 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)
1112 check_balance = true; # Check spam and ham balance
1213 min_balance = 0.9; # Keep diff for spam/ham learns for at least this value
1314}
You can’t perform that action at this time.
0 commit comments