From fea6bf4c35ae7fd40c9d61edc2283d335347d998 Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Tue, 24 Oct 2023 13:23:13 +0200 Subject: [Minor] rbl: support use of different matchers for return codes --- conf/modules.d/rbl.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'conf/modules.d/rbl.conf') diff --git a/conf/modules.d/rbl.conf b/conf/modules.d/rbl.conf index c1ef6afaa..cb90d5d31 100644 --- a/conf/modules.d/rbl.conf +++ b/conf/modules.d/rbl.conf @@ -105,6 +105,7 @@ rbl { ipv6 = true; checks = ['from', 'received']; is_whitelist = true; + matcher = "luapattern"; whitelist_exception = "RCVD_IN_DNSWL"; whitelist_exception = "RCVD_IN_DNSWL_NONE"; whitelist_exception = "RCVD_IN_DNSWL_LOW"; @@ -152,6 +153,7 @@ rbl { rbl = "dwl.dnswl.org"; checks = ['dkim']; ignore_whitelist = true; + matcher = "luapattern"; unknown = false; returncodes { @@ -222,6 +224,7 @@ rbl { selector = "specific_urls_filter_map('surbl_hashbl_map', {limit = 10}).apply_methods('get_host', 'get_path').join_tables('/')", hash = 'md5'; hash_len = 32; + matcher = "luapattern"; returncodes = { SURBL_HASHBL_PHISH = "127.0.0.8"; SURBL_HASHBL_MALWARE = "127.0.0.16"; -- cgit v1.2.3