mailcow/data/conf/rspamd/local.d/statistic.conf

25 lines
444 B
Plaintext
Raw Permalink Normal View History

2017-03-02 18:23:23 +08:00
classifier "bayes" {
tokenizer {
name = "osb";
2017-03-02 18:23:23 +08:00
}
backend = "redis";
min_tokens = 11;
min_learns = 5;
new_schema = true;
expire = 2592000;
2017-03-02 18:23:23 +08:00
statfile {
symbol = "BAYES_HAM";
spam = false;
2017-03-02 18:23:23 +08:00
}
statfile {
symbol = "BAYES_SPAM";
spam = true;
}
autolearn {
spam_threshold = 12.0;
ham_threshold = -4.5;
check_balance = true;
min_balance = 0.9;
2017-03-02 18:23:23 +08:00
}
}