aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-07-01 09:39:28 +0100
committerGitHub <noreply@github.com>2016-07-01 09:39:28 +0100
commit12f8569d8ace0015d0601b96c51faf2f4c55ef37 (patch)
treee8a6a13e7b484b5c9bffaf05bc05b551e6c9d464
parenta9888d7cc223b1919faf7cb565e79483ecb94b14 (diff)
parentff186e4208788a3aa0c2b012d29e899c424cb639 (diff)
downloadrspamd-12f8569d8ace0015d0601b96c51faf2f4c55ef37.tar.gz
rspamd-12f8569d8ace0015d0601b96c51faf2f4c55ef37.zip
Merge pull request #691 from moisseev/conf-fuzzy_check
[Conf] Fix fuzzy_check.conf includes order
-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"
}