aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2016-06-13 12:11:23 +0300
committerGitHub <noreply@github.com>2016-06-13 12:11:23 +0300
commitd9688f961e01c72aa591dbd84d81881889f42c0a (patch)
tree809b09383f5bf8f92b41831dccdc2a8a769c4c13
parent1bb43e0766b08184b59a930b272355cc51055775 (diff)
downloadrspamd-d9688f961e01c72aa591dbd84d81881889f42c0a.tar.gz
rspamd-d9688f961e01c72aa591dbd84d81881889f42c0a.zip
[Minor] Add includes for `classifier "bayes"`
to avoid redefining everything in the classifier configuration.
-rw-r--r--conf/statistic.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/statistic.conf b/conf/statistic.conf
index f5359f2b0..2b64b7e84 100644
--- a/conf/statistic.conf
+++ b/conf/statistic.conf
@@ -68,6 +68,9 @@ return function(task, is_spam, is_unlearn)
return true
end
EOD
+
+ .include(try=true; priority=1) "$LOCAL_CONFDIR/local.d/classifier-bayes.conf"
+ .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/classifier-bayes.conf"
}
.include(try=true; priority=1) "$LOCAL_CONFDIR/local.d/statistic.conf"