changeset 12566:89936539e3b8

lda: Removed optimization of not creating temp files for large mails when not using Sieve. The backwards seeking was still needed if bouncing the mail because of out of quota.
author Timo Sirainen <tss@iki.fi>
date Fri, 17 Dec 2010 13:23:07 +0000
parents b7dd7a966a3a
children c9b3716e56f7
files src/lda/main.c
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/lda/main.c	Fri Dec 17 13:16:01 2010 +0000
+++ b/src/lda/main.c	Fri Dec 17 13:23:07 2010 +0000
@@ -154,13 +154,6 @@
 	i_free(sender);
 
 	if (input->v_offset == 0) {
-		if (deliver_mail == NULL) {
-			/* no Sieve or any other plugin. this input stream
-			   simply passes to mailbox_save(), so it doesn't need
-			   to be seekable and we can avoid creating temp files
-			   for large mails. */
-			return input;
-		}
 		input2 = input;
 		i_stream_ref(input2);
 	} else {