summaryrefslogtreecommitdiffstats
path: root/conf/statistic.conf
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-11-21 16:20:45 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-11-21 16:20:45 +0000
commitac675792e2277deee495bf98f34045c4b3f4d954 (patch)
treef59a45e41d43e4b86d11195b644931edfdfc4cb9 /conf/statistic.conf
parent3a790729df214dfb00d0d92f813819b23edb23fb (diff)
downloadrspamd-ac675792e2277deee495bf98f34045c4b3f4d954.tar.gz
rspamd-ac675792e2277deee495bf98f34045c4b3f4d954.zip
Add basics of the new configuration.
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";
+ }
+}