From 77844c3f5e2fe4b6ce696a346b8d422696e0afdd Mon Sep 17 00:00:00 2001
From: Stephan Bosch <stephan@rename-it.nl>
Date: Mon, 23 Feb 2009 18:41:34 +0100
Subject: [PATCH] Fixed tmp file name for raw storage used for sieve tools.

---
 src/lib-sieve-tool/mail-raw.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/lib-sieve-tool/mail-raw.c b/src/lib-sieve-tool/mail-raw.c
index 2fc1de358..f9f63fb65 100644
--- a/src/lib-sieve-tool/mail-raw.c
+++ b/src/lib-sieve-tool/mail-raw.c
@@ -1,7 +1,7 @@
 /* Copyright (c) 2002-2009 Dovecot Sieve authors, see the included COPYING file
  */
 
-/* This file was gratefully stolen from dovecot/src/deliver/deliver.c and 
+/* FIXME: This file was gratefully stolen from dovecot/src/deliver/deliver.c and 
  * altered to suit our needs. So, this contains lots and lots of duplicated 
  * code. 
  */
@@ -100,7 +100,7 @@ static struct istream *create_raw_stream
 
 	input_list[0] = input2; input_list[1] = NULL;
 	input = i_stream_create_seekable(input_list, MAIL_MAX_MEMORY_BUFFER,
-					 "/tmp/dovecot.deliver.");
+					 "/tmp/dovecot.sieve-tool.");
 	i_stream_unref(&input2);
 	return input;
 }
@@ -130,6 +130,7 @@ void mail_raw_deinit(void)
 	mail_user_unref(&raw_mail_user);
 }
 
+
 /*
  * Open raw mail data
  */
-- 
GitLab