From 791e4abd5c91aa57d4c5b9aa85ca8207e20e5a90 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 14 May 2019 10:52:35 +0100 Subject: [PATCH] [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({ -- 2.39.5