From 590bcfd9226773d66817ccff3f454d0fb4bc5d2a Mon Sep 17 00:00:00 2001
From: Stephan Bosch <stephan@rename-it.nl>
Date: Sun, 21 Dec 2008 16:32:07 +0100
Subject: [PATCH] Vacation: changed location of X-Sieve header.

---
 src/lib-sieve/plugins/vacation/cmd-vacation.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib-sieve/plugins/vacation/cmd-vacation.c b/src/lib-sieve/plugins/vacation/cmd-vacation.c
index 92238918b..191b8ece1 100644
--- a/src/lib-sieve/plugins/vacation/cmd-vacation.c
+++ b/src/lib-sieve/plugins/vacation/cmd-vacation.c
@@ -835,7 +835,8 @@ static bool act_vacation_send
 	outmsgid = sieve_get_new_message_id(senv);
 
 	/* Produce a proper reply */
-    
+
+	rfc2822_header_field_write(f, "X-Sieve", SIEVE_IMPLEMENTATION);    
 	rfc2822_header_field_write(f, "Message-ID", outmsgid);
 	rfc2822_header_field_write(f, "Date", message_date_create(ioloop_time));
 
@@ -868,7 +869,6 @@ static bool act_vacation_send
 	}
 			
 	rfc2822_header_field_write(f, "Auto-Submitted", "auto-replied (vacation)");
-	rfc2822_header_field_write(f, "X-Sieve", SIEVE_IMPLEMENTATION);
 	rfc2822_header_field_write(f, "Precedence", "bulk");
 	rfc2822_header_field_write(f, "MIME-Version", "1.0");
     
-- 
GitLab