commit 9d44d46: [Minor] Erm, forgot one more place to debug

Vsevolod Stakhov vsevolod at highsecure.ru
Mon Apr 20 15:28:08 UTC 2020


Author: Vsevolod Stakhov
Date: 2020-04-20 16:27:25 +0100
URL: https://github.com/rspamd/rspamd/commit/9d44d461ab06c26b1483392714fabdb0dcad68be (HEAD -> master)

[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 44d718d9e..ff8b6a700 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
 


More information about the Commits mailing list