From: Vsevolod Stakhov Date: Sat, 18 Jun 2016 11:37:00 +0000 (+0100) Subject: [Feature] Allow easy adding and overriding of fuzzy rules X-Git-Tag: 1.3.0~298 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2e6d23d0781ee6c2a3e5e1cddbb525aef76c4a9a;p=rspamd.git [Feature] Allow easy adding and overriding of fuzzy rules --- 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";