From d4df6a2acccc81b09046300d3958a1e5a4cf2a9b Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Sun, 26 Mar 2017 17:13:13 +0200 Subject: [PATCH] [Minor] RBL: deal with missing DKIM config --- 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 11479df9e..edc55c998 100644 --- a/src/plugins/lua/rbl.lua +++ b/src/plugins/lua/rbl.lua @@ -35,7 +35,7 @@ local symbols = { } local dkim_config = rspamd_config:get_all_opt("dkim") -if dkim_config['symbol_allow'] then +if (dkim_config or E).symbol_allow then symbols['dkim_allow_symbol'] = dkim_config['symbol_allow'] end -- 2.39.5