aboutsummaryrefslogtreecommitdiffstats
path: root/conf/statistic.conf
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-10-11 09:34:40 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-10-11 09:34:40 +0100
commitf0004af0229a615d166716ed65ea1c3aff11f9fb (patch)
tree26f04bf665b9ddc753ce0da1c89ba6d1eafda852 /conf/statistic.conf
parente16042d0d4db18d29724f596e735dde321675ed5 (diff)
downloadrspamd-f0004af0229a615d166716ed65ea1c3aff11f9fb.tar.gz
rspamd-f0004af0229a615d166716ed65ea1c3aff11f9fb.zip
[Conf] Clarify documentation in the config files
Diffstat (limited to 'conf/statistic.conf')
-rw-r--r--conf/statistic.conf27
1 files changed, 13 insertions, 14 deletions
diff --git a/conf/statistic.conf b/conf/statistic.conf
index 0d76cd399..60b6dcb3e 100644
--- a/conf/statistic.conf
+++ b/conf/statistic.conf
@@ -1,23 +1,22 @@
+# Statistics setup
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
-# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
-# parameters defined on the top level
+# You can modify 'local.d/statistics.conf' to add and merge
+# parameters defined inside this section
#
-# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
-# parameters defined on the top level
+# You can modify 'override.d/statistics.conf' to strictly override all
+# parameters defined inside this section
#
-# For specific modules or configuration you can also modify
-# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
-# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
+# If you just need to change the default bayes classifier, you can also use
+# 'local.d/classifier-bayes.conf' or 'override.d/classifier-bayes.conf'. But
+# never ever use both `statistics.conf` and `classifier-bayes.conf` locals files
+# together!
#
-# See https://rspamd.com/doc/tutorials/writing_rules.html for details
-
-# Rspamd statistic setup
-# Pre-built files could be loaded from:
-# http://rspamd.com/rspamd_statistics/bayes.spam.sqlite
-# - and -
-# http://rspamd.com/rspamd_statistics/bayes.ham.sqlite
+# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
+# for details
+#
+# Module documentation: https://rspamd.com/doc/configuration/statistic.html
classifier "bayes" {
tokenizer {