diff --git a/src/lib-sieve/plugins/vacation/cmd-vacation.c b/src/lib-sieve/plugins/vacation/cmd-vacation.c
index 92238918b26f3ce1d9e827368230226a9836e1ec..191b8ece101238d440d4eaa7386d89d64253aeb9 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");