From: Andrew Lewis Date: Sun, 26 Mar 2017 15:13:13 +0000 (+0200) Subject: [Minor] RBL: deal with missing DKIM config X-Git-Tag: 1.5.4~22 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d4df6a2acccc81b09046300d3958a1e5a4cf2a9b;p=rspamd.git [Minor] RBL: deal with missing DKIM config --- 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