Skip to content

Commit 19b24c6

Browse files
author
Marius Burkard
committed
Merge branch 'jnorell-develop-patch-34775' into 'develop'
Update rspamd_classifier-bayes.conf.master with junk_threshold See merge request ispconfig/ispconfig3!1537
2 parents 28808df + 1aab22d commit 19b24c6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

server/conf/rspamd_classifier-bayes.conf.master

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ servers = "<tmpl_var name='rspamd_redis_bayes_servers'>";
66
password = "<tmpl_var name='rspamd_redis_bayes_password'>";
77
</tmpl_if>
88
autolearn {
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
}

0 commit comments

Comments
 (0)