commit e3a395d: Allow setting server domain for ARC

Petr Řehoř rx at rx.cz
Fri Feb 15 11:56:03 UTC 2019


Author: Petr Řehoř
Date: 2018-11-29 22:32:02 +0100
URL: https://github.com/rspamd/rspamd/commit/e3a395d0a1cd8c7aa94d5505d04854b933abf737 (refs/pull/2657/head)

Allow setting server domain for ARC

---
 lualib/lua_dkim_tools.lua | 2 ++
 1 file changed, 2 insertions(+)

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
 


More information about the Commits mailing list