From 9d44d461ab06c26b1483392714fabdb0dcad68be Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 20 Apr 2020 16:27:25 +0100 Subject: [PATCH] [Minor] Erm, forgot one more place to debug --- src/plugins/lua/rbl.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua index 44d718d9eb..ff8b6a700f 100644 --- a/src/plugins/lua/rbl.lua +++ b/src/plugins/lua/rbl.lua @@ -970,6 +970,10 @@ local function add_rbl(key, rbl, global_opts) } if not rbl.is_whitelist and rbl.ignore_whitelist == false then table.insert(black_symbols, rbl.symbol) + else + lua_util.debugm(N, rspamd_config, 'rule %s ignores whitelists: rbl.is_whitelist = %s, ' .. + 'rbl.ignore_whitelist = %s', + rbl.symbol, rbl.is_whitelist, rbl.ignore_whitelist) end end -- 2.47.3