blob: 1ca3e0822b0a15235c695b505f996ec240278548 [file] [log] [blame]
Matthias Andreas Benkardb382b102021-01-02 15:32:21 +01001classifier "bayes" {
2 tokenizer {
3 name = "osb";
4 }
5 backend = "redis";
6 min_tokens = 11;
7 min_learns = 5;
8 new_schema = true;
9 expire = 2592000;
10 statfile {
11 symbol = "BAYES_HAM";
12 spam = false;
13 }
14 statfile {
15 symbol = "BAYES_SPAM";
16 spam = true;
17 }
18 autolearn {
19 spam_threshold = 12.0;
20 ham_threshold = -4.5;
21 check_balance = true;
22 min_balance = 0.9;
23 }
24}