]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Insert Authentication-Results at top of headers 1847/head
authorAndrew Lewis <nerf@judo.za.org>
Tue, 26 Sep 2017 14:48:43 +0000 (16:48 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Tue, 26 Sep 2017 14:48:43 +0000 (16:48 +0200)
src/plugins/lua/milter_headers.lua

index 2633d32f843885c7759004611a54af9add7c5d0b..25bf14ce70619696c6a67c7d1227f124ae8e5d35 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