summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2017-09-26 16:48:43 +0200
committerAndrew Lewis <nerf@judo.za.org>2018-01-24 12:04:16 +0200
commit933201cdbaafd3cd311d0c1772b747997b9b972a (patch)
tree6fe6676832a240b092a38acbf43d38a2c7f9b1b7 /src
parent70655ef71e8c0a25402f9c4e4dc4ed5b72fe6dd4 (diff)
downloadrspamd-933201cdbaafd3cd311d0c1772b747997b9b972a.tar.gz
rspamd-933201cdbaafd3cd311d0c1772b747997b9b972a.zip
[Minor] Insert Authentication-Results at top of headers
Diffstat (limited to 'src')
-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 0bf3a5bcf..ee7777d11 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