From 2207724a6c94a36fe597fc8ec7e0f197b90c3ec0 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 8 Feb 2023 12:04:34 +0000 Subject: [PATCH] [Minor] Add RBL callback symbols to the `rbl` group --- src/plugins/lua/rbl.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua index 75af371bc..e0cbf6960 100644 --- a/src/plugins/lua/rbl.lua +++ b/src/plugins/lua/rbl.lua @@ -1298,6 +1298,7 @@ rspamd_config:register_symbol{ callback = rbl_callback_white, name = 'RBL_CALLBACK_WHITE', flags = 'nice,empty,no_squeeze', + groups = {'rbl'}, augmentations = {string.format("timeout=%f", rspamd_config:get_dns_timeout() or 0.0)}, } @@ -1306,6 +1307,7 @@ rspamd_config:register_symbol{ callback = rbl_callback_fin, name = 'RBL_CALLBACK', flags = 'empty,no_squeeze', + groups = {'rbl'}, augmentations = {string.format("timeout=%f", rspamd_config:get_dns_timeout() or 0.0)}, } -- 2.39.5