# HG changeset patch # User Timo Sirainen # Date 1292592187 0 # Node ID 89936539e3b83e27297648cf3a5352fdb5d8ea62 # Parent b7dd7a966a3a9968958bed488151eea04508dcf2 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. diff -r b7dd7a966a3a -r 89936539e3b8 src/lda/main.c --- 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 {