diff options
author | Andrew Lewis <nerf@judo.za.org> | 2023-10-24 13:23:13 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2023-10-24 13:23:13 +0200 |
commit | fea6bf4c35ae7fd40c9d61edc2283d335347d998 (patch) | |
tree | 56f8335a9c406afa5c96dea995de7f2536997d87 /conf/modules.d/rbl.conf | |
parent | 78f91465d1170b19d12411c5b6be224565f25b84 (diff) | |
download | rspamd-fea6bf4c35ae7fd40c9d61edc2283d335347d998.tar.gz rspamd-fea6bf4c35ae7fd40c9d61edc2283d335347d998.zip |
[Minor] rbl: support use of different matchers for return codes
Diffstat (limited to 'conf/modules.d/rbl.conf')
-rw-r--r-- | conf/modules.d/rbl.conf | 3 |
1 files changed, 3 insertions, 0 deletions
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"; |