aboutsummaryrefslogtreecommitdiffstats
path: root/conf/statistic.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf/statistic.conf')
-rw-r--r--conf/statistic.conf19
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";
+ }
+}