commit f19c68f: [Minor] Distinguish selector from domain in a better way
Vsevolod Stakhov
vsevolod at highsecure.ru
Mon Sep 28 11:21:08 UTC 2020
Author: Vsevolod Stakhov
Date: 2020-09-28 12:15:18 +0100
URL: https://github.com/rspamd/rspamd/commit/f19c68f2b12fcde531d914b6540b3e37dc61fcf0 (HEAD -> master)
[Minor] Distinguish selector from domain in a better way
---
src/plugins/lua/arc.lua | 2 +-
src/plugins/lua/dkim_signing.lua | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/plugins/lua/arc.lua b/src/plugins/lua/arc.lua
index e95d0cf9e..8188656e1 100644
--- a/src/plugins/lua/arc.lua
+++ b/src/plugins/lua/arc.lua
@@ -547,7 +547,7 @@ local function arc_sign_seal(task, params, header)
}
})
task:insert_result(settings.sign_symbol, 1.0,
- string.format('i=%d:%s:%s', cur_idx, params.domain, params.selector))
+ string.format('i=%d:%s:s=%s', cur_idx, params.domain, params.selector))
end
local function prepare_arc_selector(task, sel)
diff --git a/src/plugins/lua/dkim_signing.lua b/src/plugins/lua/dkim_signing.lua
index e01d09791..e42e0f75c 100644
--- a/src/plugins/lua/dkim_signing.lua
+++ b/src/plugins/lua/dkim_signing.lua
@@ -62,7 +62,7 @@ local function insert_sign_results(task, ret, hdr, dkim_params)
})
end
if ret then
- task:insert_result(settings.symbol, 1.0, string.format('%s:%s',
+ task:insert_result(settings.symbol, 1.0, string.format('%s:s=%s',
dkim_params.domain, dkim_params.selector))
end
end
More information about the Commits
mailing list