From: Andrew Lewis Date: Tue, 26 Sep 2017 14:48:43 +0000 (+0200) Subject: [Minor] Insert Authentication-Results at top of headers X-Git-Tag: 1.7.0~610^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0f35d1be45d9117c477b85462ff996dbfc24911a;p=rspamd.git [Minor] Insert Authentication-Results at top of headers --- diff --git a/src/plugins/lua/milter_headers.lua b/src/plugins/lua/milter_headers.lua index 2633d32f8..25bf14ce7 100644 --- a/src/plugins/lua/milter_headers.lua +++ b/src/plugins/lua/milter_headers.lua @@ -357,7 +357,10 @@ local function milter_headers(task) settings.routines['authentication-results']) if res then - add[settings.routines['authentication-results'].header] = res + add[settings.routines['authentication-results'].header] = { + value = res, + order = 0 + } end end