From: Alexander Moisseev Date: Fri, 1 Jul 2016 06:59:57 +0000 (+0300) Subject: [Conf] Fix fuzzy_check.conf includes order X-Git-Tag: 1.3.0~204^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ff186e4208788a3aa0c2b012d29e899c424cb639;p=rspamd.git [Conf] Fix fuzzy_check.conf includes order This fixes #672 and fixes #563. --- diff --git a/conf/modules.d/fuzzy_check.conf b/conf/modules.d/fuzzy_check.conf index 5d66a06f7..575ddf55a 100644 --- a/conf/modules.d/fuzzy_check.conf +++ b/conf/modules.d/fuzzy_check.conf @@ -14,10 +14,6 @@ # See https://rspamd.com/doc/tutorials/writing_rules.html for details fuzzy_check { - # Include dynamic conf for the rule - .include(try=true,priority=5) "${DBDIR}/dynamic/fuzzy_check.conf" - .include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/fuzzy_check.conf" - .include(try=true,priority=10) "$LOCAL_CONFDIR/override.d/fuzzy_check.conf" min_bytes = 100; rule "rspamd.com" { servers = "rspamd.com:11335"; @@ -42,4 +38,8 @@ fuzzy_check { } } } + # Include dynamic conf for the rule + .include(try=true,priority=5) "${DBDIR}/dynamic/fuzzy_check.conf" + .include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/fuzzy_check.conf" + .include(try=true,priority=10) "$LOCAL_CONFDIR/override.d/fuzzy_check.conf" }