commit aa7bb1d: [Fix] Arc: Another bunch of fixes for arc signing

Vsevolod Stakhov vsevolod at highsecure.ru
Tue May 14 09:56:04 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-05-14 10:52:35 +0100
URL: https://github.com/rspamd/rspamd/commit/aa7bb1d31cecf74b56478e54a63269c3041f1223

[Fix] Arc: Another bunch of fixes for arc signing

---
 src/plugins/lua/arc.lua | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/plugins/lua/arc.lua b/src/plugins/lua/arc.lua
index 9e6cf1cac..11b6adccf 100644
--- a/src/plugins/lua/arc.lua
+++ b/src/plugins/lua/arc.lua
@@ -614,10 +614,7 @@ local function arc_signing_cb(task)
           end
         end
 
-        local dret, hdr = dkim_sign(task, p)
-        if dret then
-          return arc_sign_seal(task, p, hdr)
-        end
+        do_sign(task, p)
       else
         rspamd_logger.infox(task, 'key path or dkim selector unconfigured; no signing')
         return false
@@ -652,6 +649,8 @@ if settings.use_redis then
         'but module is configured to load keys from redis, disable arc signing')
     return
   end
+
+  settings.redis_params = redis_params
 end
 
 rspamd_config:register_symbol({


More information about the Commits mailing list