[Dovecot] Dovecot/IMP Bug with RFC822.SIZE and BODYSTRUCTURE
Timo Sirainen
tss at iki.fi
Tue Oct 5 13:39:51 EEST 2004
On 4.10.2004, at 21:41, Ryan Hulsker wrote:
> I am wondering if anyone can point me in the right direction in fixing
> this issue, as I have several thousand users experiencing this problem.
>
> And I am really not looking forward to backing out and going back to
> wu-imap.
Maybe this works:
diff -ru dovecot-0.99.11/src/lib-storage/index/index-mail.c
dovecot-0.99.12/src/lib-storage/index/index-mail.c
--- dovecot-0.99.11/src/lib-storage/index/index-mail.c 2003-11-20
19:29:03.000000000 +0200
+++ dovecot-0.99.12/src/lib-storage/index/index-mail.c 2004-10-05
13:39:02.000000000 +0300
@@ -606,6 +606,9 @@
if (data->parts == NULL)
data->parts = get_cached_parts(mail);
+ if (!open_stream(mail, 0))
+ return NULL;
+
t_push();
str = p_strdup(mail->pool, imap_part_get_bodystructure(
mail->pool, &data->parts, data->stream,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20041005/da175136/PGP.pgp
More information about the dovecot
mailing list