]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Conf] RBL: Fix selector
authorVsevolod Stakhov <vsevolod@rspamd.com>
Sun, 18 Dec 2022 19:29:25 +0000 (19:29 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Sun, 18 Dec 2022 19:29:25 +0000 (19:29 +0000)
conf/modules.d/rbl.conf

index a27f60c4a9bb979e533c7f5628a47cdcb0727a71..c904511dbc86faf8e187a29b8ab60dd838a81f0a 100644 (file)
@@ -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 = {