diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-06-18 12:37:00 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-06-18 12:37:00 +0100 |
commit | 2e6d23d0781ee6c2a3e5e1cddbb525aef76c4a9a (patch) | |
tree | 51181e41cce1187831a68ba145030bcaf494629a | |
parent | 636cf65b914324101b3df7a9e1f3ea5438e1e4b5 (diff) | |
download | rspamd-2e6d23d0781ee6c2a3e5e1cddbb525aef76c4a9a.tar.gz rspamd-2e6d23d0781ee6c2a3e5e1cddbb525aef76c4a9a.zip |
[Feature] Allow easy adding and overriding of fuzzy rules
-rw-r--r-- | conf/modules.d/fuzzy_check.conf | 4 |
1 files 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"; |