From ff186e4208788a3aa0c2b012d29e899c424cb639 Mon Sep 17 00:00:00 2001 From: Alexander Moisseev Date: Fri, 1 Jul 2016 09:59:57 +0300 Subject: [PATCH] [Conf] Fix fuzzy_check.conf includes order This fixes #672 and fixes #563. --- conf/modules.d/fuzzy_check.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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" } -- 2.39.5