From 5b73f19bc26253b7c80a783ee100a96a644610df Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 29 Mar 2018 11:58:02 +0100 Subject: [Minor] Insert ARC headers to the top Issue: #2113 Closes: #2113 --- src/plugins/lua/arc.lua | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/plugins/lua/arc.lua b/src/plugins/lua/arc.lua index 0feae3219..b240b3b3c 100644 --- a/src/plugins/lua/arc.lua +++ b/src/plugins/lua/arc.lua @@ -418,11 +418,10 @@ local function arc_sign_seal(task, params, header) task:set_milter_reply({ add_headers = { - ['ARC-Authentication-Results'] = cur_auth_results, - ['ARC-Message-Signature'] = header, - ['ARC-Seal'] = lua_util.fold_header(task, - 'ARC-Seal', - cur_arc_seal), + ['ARC-Authentication-Results'] = {order = 0, value = cur_auth_results}, + ['ARC-Message-Signature'] = {order = 0, value = header}, + ['ARC-Seal'] = {order = 0, value = lua_util.fold_header(task, + 'ARC-Seal', cur_arc_seal) } } }) task:insert_result(settings.sign_symbol, 1.0, string.format('i=%d', cur_idx)) -- cgit v1.2.3