diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-03-10 17:04:48 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-03-10 17:04:48 +0000 |
commit | 88e0cdf0fb1b80a137a05b05ba3cbb3881457838 (patch) | |
tree | 0870fde740ff01c2d89ae19870e770f3d3d38806 /conf/statistic.conf | |
parent | ac0307f4de186629bcbc58582f0207825fe56740 (diff) | |
download | rspamd-88e0cdf0fb1b80a137a05b05ba3cbb3881457838.tar.gz rspamd-88e0cdf0fb1b80a137a05b05ba3cbb3881457838.zip |
[Feature] Rework includes and configuration system
Diffstat (limited to 'conf/statistic.conf')
-rw-r--r-- | conf/statistic.conf | 42 |
1 files changed, 22 insertions, 20 deletions
diff --git a/conf/statistic.conf b/conf/statistic.conf index bd7f19698..12abd89b0 100644 --- a/conf/statistic.conf +++ b/conf/statistic.conf @@ -5,24 +5,26 @@ # http://rspamd.com/rspamd_statistics/bayes.ham.sqlite classifier { - type = "bayes"; - tokenizer { - name = "osb"; - } - cache { - path = "${DBDIR}/learn_cache.sqlite"; - } - min_tokens = 11; - backend = "sqlite3"; - languages_enabled = true; - statfile { - symbol = "BAYES_HAM"; - path = "${DBDIR}/bayes.ham.sqlite"; - spam = false; - } - statfile { - symbol = "BAYES_SPAM"; - path = "${DBDIR}/bayes.spam.sqlite"; - spam = true; - } + type = "bayes"; + tokenizer { + name = "osb"; + } + cache { + path = "${DBDIR}/learn_cache.sqlite"; + } + min_tokens = 11; + backend = "sqlite3"; + languages_enabled = true; + statfile { + symbol = "BAYES_HAM"; + path = "${DBDIR}/bayes.ham.sqlite"; + spam = false; + } + statfile { + symbol = "BAYES_SPAM"; + path = "${DBDIR}/bayes.spam.sqlite"; + spam = true; + } + .include(try=true; priority=1) "$CONFDIR/local.d/statistic.conf" + .include(try=true; priority=10) "$CONFDIR/override.d/statistic.conf" } |