aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Řehoř <rx@rx.cz>2018-11-29 22:32:02 +0100
committerPetr Řehoř <rx@rx.cz>2018-11-29 22:32:02 +0100
commite3a395d0a1cd8c7aa94d5505d04854b933abf737 (patch)
tree6aa0ccb07ec7a8d3786d6cc1b92de9132b072ab3
parent0d62dd6513a5309acfcc19e936b3a7844c83a502 (diff)
downloadrspamd-e3a395d0a1cd8c7aa94d5505d04854b933abf737.tar.gz
rspamd-e3a395d0a1cd8c7aa94d5505d04854b933abf737.zip
Allow setting server domain for ARC
-rw-r--r--lualib/lua_dkim_tools.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/lualib/lua_dkim_tools.lua b/lualib/lua_dkim_tools.lua
index 5469ac138..15463632b 100644
--- a/lualib/lua_dkim_tools.lua
+++ b/lualib/lua_dkim_tools.lua
@@ -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