aports/config/rspamd/statistic.conf

28 lines
475 B
Plaintext

classifier "bayes" {
learn_condition = 'return require("lua_bayes_learn").can_learn';
tokenizer {
name = "osb";
}
backend = "redis";
min_tokens = 11;
min_learns = 5;
new_schema = true;
store_tokens = true;
signatures = false;
expire = 2592000;
statfile {
symbol = "BAYES_HAM";
spam = false;
}
statfile {
symbol = "BAYES_SPAM";
spam = true;
}
autolearn {
spam_threshold = 7;
ham_threshold = -0.5;
check_balance = true;
min_balance = 0.9;
}
}