aboutsummaryrefslogtreecommitdiffstats
path: root/conf/statistic.conf
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-10 12:35:21 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-10 12:35:21 +0100
commite2664ce23923f069117072fe4966db9f5a222e54 (patch)
tree4fff36297cff0b6e7bf840048228f879e1bb8cc1 /conf/statistic.conf
parentec7eeb63326cdd8b0b9b02e12b9191735fad40ef (diff)
downloadrspamd-e2664ce23923f069117072fe4966db9f5a222e54.tar.gz
rspamd-e2664ce23923f069117072fe4966db9f5a222e54.zip
[Conf] Slashing: Change default stats backend to Redis
Diffstat (limited to 'conf/statistic.conf')
-rw-r--r--conf/statistic.conf9
1 files changed, 5 insertions, 4 deletions
diff --git a/conf/statistic.conf b/conf/statistic.conf
index d9b9a1b72..d2b5b147a 100644
--- a/conf/statistic.conf
+++ b/conf/statistic.conf
@@ -26,19 +26,20 @@ classifier "bayes" {
cache {
path = "${DBDIR}/learn_cache.sqlite";
}
+ new_schema = true; # Always use new schema
+ store_tokens = false; # Redefine if storing of tokens is desired
+ signatures = false; # Store learn signatures
+ #per_user = true; # Enable per user classifier
min_tokens = 11;
- backend = "sqlite3";
- languages_enabled = true;
+ backend = "redis";
min_learns = 200;
statfile {
symbol = "BAYES_HAM";
- path = "${DBDIR}/bayes.ham.sqlite";
spam = false;
}
statfile {
symbol = "BAYES_SPAM";
- path = "${DBDIR}/bayes.spam.sqlite";
spam = true;
}
learn_condition =<<EOD