]> source.dussan.org Git - rspamd.git/commitdiff
[Feature] Allow easy adding and overriding of fuzzy rules
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 18 Jun 2016 11:37:00 +0000 (12:37 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 18 Jun 2016 11:37:00 +0000 (12:37 +0100)
conf/modules.d/fuzzy_check.conf

index 7b95bfda6653b88f3d8b365936996f8045d19942..5d66a06f7e7bb41e67c5cb2f10fa28a954930396 100644 (file)
 fuzzy_check {
     # Include dynamic conf for the rule
     .include(try=true,priority=5) "${DBDIR}/dynamic/fuzzy_check.conf"
-    .include(try=true,priority=1) "$LOCAL_CONFDIR/local.d/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 {
+    rule "rspamd.com" {
         servers = "rspamd.com:11335";
         encryption_key = "icy63itbhhni8bq15ntp5n5symuixf73s1kpjh6skaq4e7nx5fiy";
         symbol = "FUZZY_UNKNOWN";