[Dovecot] zlib plugin trouble

Stéphane Cottin stephane.cottin at vixns.com
Tue Feb 16 17:39:15 EET 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Le 16 févr. 2010 à 16:28, Leonardo Rodrigues a écrit :

> Em 16/02/2010 12:30, Stéphane Cottin escreveu:
>> Hi,
>> 
>> I have error with dovecot 1.2.10 + compress on deliver patch and zlib plugin.
>> 
>> logfile sample:
>> 
>> [...]
>> mail.err: Feb 16 14:22:25 dovecot: IMAP(hidden at domain.com): zlib_istream.seek() failed: Invalid argument
>> mail.err: Feb 16 14:22:25 dovecot: IMAP(hidden at domain.com): FETCH for mailbox Meursault UID 101 failed to read message input: Invalid argument
>> mail.err: Feb 16 14:22:26 dovecot: IMAP(hidden at domain.com): gzread() failed: DATA_ERROR_MAGIC
>> mail.err: Feb 16 14:22:26 dovecot: IMAP(hidden at domain.com): zlib_istream.seek() failed: Invalid argument
>> mail.err: Feb 16 14:22:26 dovecot: IMAP(hidden at domain.com): FETCH for mailbox Meursault UID 101 failed to read message input: Invalid argument
>> mail.err: Feb 16 14:22:26 dovecot: IMAP(hidden at domain.com): gzread() failed: DATA_ERROR_MAGIC
>> [...]
>>   
> 
>    i have already reported some similar errors when messages are compressed with bzip. I couldnt reproduce with gzip, which you appears to be using:
> 
> zlib_save: gz
> 
>    do you used some script for compressing your existing messages, those who were delivered before you getting LDA to do that automatically ? If yes, is there any chance that you used bzip2 instead of gzip on that script ?
> 

I was testing bzip2, but as timo said, it's broken in 1.2.

I made a simple script to gzip uncompressed messages and convert bzip2 to gzip (I can share it if anyone cares), There is no bzip2 compressed files left.

I will activate mail_debug to get more details and be certain the bug occurs with a good gzipped file.


> 
> 
> 
> -- 
> 
> 
> 	Atenciosamente / Sincerily,
> 	Leonardo Rodrigues
> 	Solutti Tecnologia
> 	http://www.solutti.com.br
> 
> 	Minha armadilha de SPAM, NÃO mandem email
> 	gertrudes at solutti.com.br
> 	My SPAMTRAP, do not email it
> 
> 
> 
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)

iEYEARECAAYFAkt6vCMACgkQUeIu/wInUezHBACfV2VM2Nwcolj0LMOQjmq5NqgL
GCIAniRICtoOHuIfCj2uJ++/cgxqpqQK
=LQGB
-----END PGP SIGNATURE-----


More information about the dovecot mailing list