]> source.dussan.org Git - rspamd.git/commitdiff
[Conf] Fix fuzzy_check.conf includes order 691/head
authorAlexander Moisseev <moiseev@mezonplus.ru>
Fri, 1 Jul 2016 06:59:57 +0000 (09:59 +0300)
committerAlexander Moisseev <moiseev@mezonplus.ru>
Fri, 1 Jul 2016 06:59:57 +0000 (09:59 +0300)
This fixes #672 and fixes #563.

conf/modules.d/fuzzy_check.conf

index 5d66a06f7e7bb41e67c5cb2f10fa28a954930396..575ddf55af79e0eea1326d063b54d4c3b67693ea 100644 (file)
 # 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"
 }