From: Vsevolod Stakhov Date: Mon, 20 Apr 2020 15:27:25 +0000 (+0100) Subject: [Minor] Erm, forgot one more place to debug X-Git-Tag: 2.6~509 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9d44d461ab06c26b1483392714fabdb0dcad68be;p=thirdparty%2Frspamd.git [Minor] Erm, forgot one more place to debug --- 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