diff options
Diffstat (limited to 'conf/statistic.conf')
-rw-r--r-- | conf/statistic.conf | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/conf/statistic.conf b/conf/statistic.conf new file mode 100644 index 000000000..bd738dd84 --- /dev/null +++ b/conf/statistic.conf @@ -0,0 +1,19 @@ +# Rspamd statistic setup + +classifier { + type = "bayes"; + tokenizer = "osb-text"; + metric = "default"; + min_tokens = 10; + max_tokens = 1000; + statfile { + symbol = "BAYES_HAM"; + size = 50M; + path = "$DBDIR/bayes.ham"; + } + statfile { + symbol = "BAYES_SPAM"; + size = 50M; + path = "$DBDIR/bayes.spam"; + } +} |