1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-01-12 04:23:24 +02:00
mailcow-dockerized/data/conf/rspamd/local.d/statistic.conf

27 lines
604 B
Plaintext
Raw Normal View History

2017-03-02 12:23:23 +02:00
classifier "bayes" {
# name = "custom"; # 'name' parameter must be set if multiple classifiers are defined
learn_condition = 'return require("lua_bayes_learn").can_learn';
new_schema = true;
2017-03-02 12:23:23 +02:00
tokenizer {
name = "osb";
2017-03-02 12:23:23 +02:00
}
backend = "redis";
min_tokens = 11;
min_learns = 5;
expire = 7776000;
2017-03-02 12:23:23 +02:00
statfile {
symbol = "BAYES_HAM";
spam = false;
2017-03-02 12:23:23 +02: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 12:23:23 +02:00
}
}