mirror of
https://github.com/rspamd/rspamd.git
synced 2024-09-10 06:35:58 +02:00
20 lines
373 B
Plaintext
20 lines
373 B
Plaintext
# Rspamd statistic setup
|
|
|
|
classifier {
|
|
type = "bayes";
|
|
tokenizer = "osb-text";
|
|
metric = "default";
|
|
min_tokens = 10;
|
|
max_tokens = 1000;
|
|
statfile {
|
|
symbol = "BAYES_HAM";
|
|
size = 50Mb;
|
|
path = "$DBDIR/bayes.ham";
|
|
}
|
|
statfile {
|
|
symbol = "BAYES_SPAM";
|
|
size = 50Mb;
|
|
path = "$DBDIR/bayes.spam";
|
|
}
|
|
}
|