From 8cf82bf775828c3046dc0c967967834b5811fdef Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 17 Mar 2017 11:16:51 +0000 Subject: [PATCH] [Minor] Lowercase dkim domain for signing --- src/plugins/lua/dkim_signing.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/lua/dkim_signing.lua b/src/plugins/lua/dkim_signing.lua index 105ecf63b..e58f9cde5 100644 --- a/src/plugins/lua/dkim_signing.lua +++ b/src/plugins/lua/dkim_signing.lua @@ -115,6 +115,7 @@ local function dkim_signing_cb(task) end end local p = {} + dkim_domain = dkim_domain:lower() if settings.domain[dkim_domain] then p.selector = settings.domain[dkim_domain].selector p.key = settings.domain[dkim_domain].path -- 2.39.5