]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Allow setting server domain for ARC 2657/head
authorPetr Řehoř <rx@rx.cz>
Thu, 29 Nov 2018 21:32:02 +0000 (22:32 +0100)
committerPetr Řehoř <rx@rx.cz>
Thu, 29 Nov 2018 21:32:02 +0000 (22:32 +0100)
lualib/lua_dkim_tools.lua

index 5469ac138e243d05880206e99cae14458acac448..15463632b2e215c1764ca99460ede7132fb83eb4 100644 (file)
@@ -135,6 +135,8 @@ local function prepare_dkim_signing(N, task, settings)
       return udom
     elseif settings[dtype] == 'recipient' then
       return tdom
+    else
+      return settings[dtype]:lower()
     end
   end