From 2e6d23d0781ee6c2a3e5e1cddbb525aef76c4a9a Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 18 Jun 2016 12:37:00 +0100 Subject: [PATCH] [Feature] Allow easy adding and overriding of fuzzy rules --- conf/modules.d/fuzzy_check.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/modules.d/fuzzy_check.conf b/conf/modules.d/fuzzy_check.conf index 7b95bfda6..5d66a06f7 100644 --- a/conf/modules.d/fuzzy_check.conf +++ b/conf/modules.d/fuzzy_check.conf @@ -16,10 +16,10 @@ 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"; -- 2.39.5