From: Vsevolod Stakhov Date: Tue, 14 May 2019 09:52:35 +0000 (+0100) Subject: [Fix] Arc: Another bunch of fixes for arc signing X-Git-Tag: 2.0~906 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=aa7bb1d31cecf74b56478e54a63269c3041f1223;p=rspamd.git [Fix] Arc: Another bunch of fixes for arc signing --- 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({