From eaa05cc69af525ba74567b7790ebdc836099c20b Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Sat, 9 Sep 2023 23:22:49 +0200 Subject: [PATCH] [Fix] rbl: really fix dependency registration when symbols_prefixes is used --- src/plugins/lua/rbl.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua index b0ea8c63e..6dce0e0f1 100644 --- a/src/plugins/lua/rbl.lua +++ b/src/plugins/lua/rbl.lua @@ -1094,7 +1094,7 @@ local function add_rbl(key, rbl, global_opts) lua_util.debugm(N, rspamd_config, 'rule dump for %s: %s', rbl.symbol, rbl) - local check_sym = rbl.symbol_prefixes and rbl.symbol .. '_CHECK' or rbl.symbol + local check_sym = rbl.symbols_prefixes and rbl.symbol .. '_CHECK' or rbl.symbol if rbl.dkim then rspamd_config:register_dependency(check_sym, 'DKIM_CHECK') -- 2.39.5