[Dovecot] bzip2 compression bug

Nikita Koshikov koshikov at gmail.com
Thu Jun 25 09:13:38 EEST 2009


On Wed, 24 Jun 2009 23:08:43 -0300 (BRT)
fernando at dfcom.com.br wrote:

> Hi,
> 
> I compressed many files using bzip2, but in some cases it crashes. I
> believe that it is related to dovecot 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
> Jun 24 00:18:20 maildev dovecot: IMAP(xxx at xxx): Disconnected: BUG: Unknown
> internal error bytes=329/1050
> 
> When I did the same with gzip compression it works as expected (opening
> the message and creating dovecot indexes).
> 
> (version, 1.1.16)
> 

Compression bzlib/bzip2 supported since version v1.1.2+, as wiki say:

Zlib plugin can be used to read compressed mbox and maildir files. Zlib plugin supports compression using zlib/gzip and bzlib/bzip2 (v1.1.2+). 


> Best Regards,
> Fernando
> 


More information about the dovecot mailing list