summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2017-09-26 16:48:43 +0200
committerAndrew Lewis <nerf@judo.za.org>2017-09-26 16:48:43 +0200
commit0f35d1be45d9117c477b85462ff996dbfc24911a (patch)
tree9adbce6970fbcbfacf540c0fee311dd0bf2144ca
parentd0eed61f277826175e5510adcd4e5191f8ab5981 (diff)
downloadrspamd-0f35d1be45d9117c477b85462ff996dbfc24911a.tar.gz
rspamd-0f35d1be45d9117c477b85462ff996dbfc24911a.zip
[Minor] Insert Authentication-Results at top of headers
-rw-r--r--src/plugins/lua/milter_headers.lua5
1 files changed, 4 insertions, 1 deletions
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