]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Add includes for `classifier "bayes"` 659/head
authorAlexander Moisseev <moiseev@mezonplus.ru>
Mon, 13 Jun 2016 09:11:23 +0000 (12:11 +0300)
committerGitHub <noreply@github.com>
Mon, 13 Jun 2016 09:11:23 +0000 (12:11 +0300)
to avoid redefining everything in the classifier configuration.

conf/statistic.conf

index f5359f2b00ee02292f814c233f221b0717a8262e..2b64b7e8483e54398a6fdaa8ef54d73cef419cd5 100644 (file)
@@ -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"