aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2016-07-01 09:59:57 +0300
committerAlexander Moisseev <moiseev@mezonplus.ru>2016-07-01 09:59:57 +0300
commitff186e4208788a3aa0c2b012d29e899c424cb639 (patch)
treec70a7c43402d846a582c406a0264a7631a294412 /conf
parent4317665c28b1714320979d4fde6c3fc82733d520 (diff)
downloadrspamd-ff186e4208788a3aa0c2b012d29e899c424cb639.tar.gz
rspamd-ff186e4208788a3aa0c2b012d29e899c424cb639.zip
[Conf] Fix fuzzy_check.conf includes order
This fixes #672 and fixes #563.
Diffstat (limited to 'conf')
-rw-r--r--conf/modules.d/fuzzy_check.conf8
1 files 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"
}