]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Insert Authentication-Results at top of headers
authorAndrew Lewis <nerf@judo.za.org>
Tue, 26 Sep 2017 14:48:43 +0000 (16:48 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Wed, 24 Jan 2018 10:04:16 +0000 (12:04 +0200)
src/plugins/lua/milter_headers.lua

index 0bf3a5bcf94dc87c44c644a92da83926c46a248b..ee7777d11e3381070bca3daf0b2f48953141a0db 100644 (file)
@@ -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