diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-07-05 15:36:53 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-07-05 15:36:53 +0100 |
commit | 6716825ffde68dae6969db1f7a30c2c9b105c678 (patch) | |
tree | 718b4749cca6873b021f661bcf09ccb9402a0dea /lualib/lua_squeeze_rules.lua | |
parent | 6da545d4a7a7a7936511408e0ac738c9f7ab9587 (diff) | |
download | rspamd-6716825ffde68dae6969db1f7a30c2c9b105c678.tar.gz rspamd-6716825ffde68dae6969db1f7a30c2c9b105c678.zip |
[Fix] Fix DKIM check rule if DNS is unavailable
Diffstat (limited to 'lualib/lua_squeeze_rules.lua')
-rw-r--r-- | lualib/lua_squeeze_rules.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lualib/lua_squeeze_rules.lua b/lualib/lua_squeeze_rules.lua index a6e420fbd..9c751a33a 100644 --- a/lualib/lua_squeeze_rules.lua +++ b/lualib/lua_squeeze_rules.lua @@ -36,6 +36,8 @@ local function gen_lua_squeeze_function(order) return {data[1](task)} end + -- Too expensive to call :( + --logger.debugm(SN, task, 'call for: %s', data[2]) local status, ret = pcall(real_call) if not status then @@ -256,7 +258,8 @@ exports.squeeze_init = function() -- and create squeezed rules for k,v in pairs(squeezed_symbols) do local parent_symbol = get_ordered_symbol_name(v.order) - logger.debugm(SN, rspamd_config, 'added squeezed rule: %s (%s)', k, parent_symbol) + logger.debugm(SN, rspamd_config, 'added squeezed rule: %s (%s): %s', + k, parent_symbol, v) rspamd_config:register_symbol{ type = 'virtual', name = k, |