From 544f612bf6131989c9bb568068a651dae4ce6332 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 9 Aug 2017 19:24:08 +0100 Subject: [PATCH] [Fix] Do not try to sign unknown domains --- lualib/dkim_sign_tools.lua | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.5