commit 86c71a6: [Conf] RBL: Fix selector
Vsevolod Stakhov
vsevolod at rspamd.com
Sun Dec 18 19:35:05 UTC 2022
Author: Vsevolod Stakhov
Date: 2022-12-18 19:29:25 +0000
URL: https://github.com/rspamd/rspamd/commit/86c71a657499e1c9b2f6080c61823598b64cde8f (HEAD -> master)
[Conf] RBL: Fix selector
---
conf/modules.d/rbl.conf | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/conf/modules.d/rbl.conf b/conf/modules.d/rbl.conf
index a27f60c4a..c904511db 100644
--- a/conf/modules.d/rbl.conf
+++ b/conf/modules.d/rbl.conf
@@ -218,7 +218,8 @@ rbl {
rbl = "hashbl.surbl.org";
ignore_defaults = true;
random_monitored = true,
- selector = "specific_urls_filter_map('surbl_hashbl_map'):apply_methods('get_host', 'get_path').join_tables('/')",
+ # TODO: make limit more configurable maybe?
+ selector = "specific_urls_filter_map('surbl_hashbl_map', {limit = 10}):apply_methods('get_host', 'get_path').join_tables('/')",
hash = 'md5';
hash_len = 32;
returncodes = {
More information about the Commits
mailing list