[Dovecot] bzip2 compression bug

Timo Sirainen tss at iki.fi
Sun Jun 28 05:27:04 EEST 2009


On Wed, 2009-06-24 at 23:08 -0300, fernando at dfcom.com.br wrote:
> I compressed many files using bzip2, but in some cases it crashes. I
> believe that it is related to dovecot indexes.

I can't think of any reason why it would be related to indexes.

> How to reproduce:
> 
> Inside a Maildir folder without any indexes yet, compress a message with
> bzip2 and tryes to access it.
> 
> At my server is showed the error:
> 
> Jun 24 00:18:20 maildev dovecot: IMAP(xxx at xxx): FETCH for mailbox Trash
> UID 1 failed to read message input: No such file or directory

Looks like the error handling wasn't done correctly. Try with this patch
what it logs then: http://hg.dovecot.org/dovecot-1.1/rev/2f9d957332b6

Anyway my guess is that it'll report the file as being corrupted.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090627/8e3f9550/attachment.bin 


More information about the dovecot mailing list