From: Vsevolod Stakhov Date: Wed, 9 Aug 2017 18:24:08 +0000 (+0100) Subject: [Fix] Do not try to sign unknown domains X-Git-Tag: 1.6.6~6^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=544f612bf6131989c9bb568068a651dae4ce6332;p=rspamd.git [Fix] Do not try to sign unknown domains --- diff --git a/lualib/dkim_sign_tools.lua b/lualib/dkim_sign_tools.lua index 3a34a5682..0fd6f5618 100644 --- a/lualib/dkim_sign_tools.lua +++ b/lualib/dkim_sign_tools.lua @@ -178,6 +178,8 @@ local function prepare_dkim_signing(N, task, settings) local data = settings.path_map:get_key(dkim_domain) if data then p.key = data + else + return false,{} end end