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 [...] mail.err: Feb 16 14:36:24 dovecot: IMAP(hidden2 at domain.com): gzread() failed: UNEXPECTED_EOF mail.err: Feb 16 14:36:24 dovecot: IMAP(hidden2 at domain.com): FETCH for mailbox Sent.MARKETING.DAG ALLEMAAL UID 1 failed to read message input: Invalid argument mail.err: Feb 16 14:59:18 dovecot: IMAP(hidden2 at domain.com): gzread() failed: UNEXPECTED_EOF [...] mail.info: Feb 16 14:08:35 dovecot: IMAP(hidden2 at domain.com): Disconnected: BUG: Unknown internal error bytes=1099335/4103 mail.info: Feb 16 14:16:40 dovecot: IMAP(hidden at domain.com): Disconnected: BUG: Unknown internal error bytes=15193/2552616 mail.info: Feb 16 14:16:41 dovecot: IMAP(hidden at domain.com): Disconnected: BUG: Unknown internal error bytes=295/6715 mail.info: Feb 16 14:16:41 dovecot: IMAP(hidden at domain.com): Disconnected: BUG: Unknown internal error bytes=295/6715 mail.info: Feb 16 14:16:42 dovecot: IMAP(hidden at domain.com): Disconnected: BUG: Unknown internal error bytes=295/6715 mail.info: Feb 16 14:16:42 dovecot: IMAP(hidden at domain.com): Disconnected: BUG: Unknown internal error bytes=295/6715 [...] dovecot -n : # 1.2.10: /etc/dovecot/dovecot.conf # OS: Linux 2.6.18-6-xen-vserver-amd64 x86_64 Debian 5.0.4 log_timestamp: %Y-%m-%d %H:%M:%S protocols: imap imaps pop3 pop3s managesieve login_dir: /var/run/dovecot/login login_executable(default): /usr/lib/dovecot/imap-login login_executable(imap): /usr/lib/dovecot/imap-login login_executable(pop3): /usr/lib/dovecot/pop3-login login_executable(managesieve): /usr/lib/dovecot/managesieve-login login_greeting: Dovecot ready. login_process_per_connection: no mail_max_userip_connections(default): 30 mail_max_userip_connections(imap): 30 mail_max_userip_connections(pop3): 10 mail_max_userip_connections(managesieve): 10 mail_privileged_group: mail maildir_copy_preserve_filename: yes mbox_write_locks: fcntl dotlock mail_executable(default): /usr/lib/dovecot/imap mail_executable(imap): /usr/lib/dovecot/imap mail_executable(pop3): /usr/lib/dovecot/pop3 mail_executable(managesieve): /usr/lib/dovecot/managesieve mail_plugins(default): zlib antispam quota imap_quota fts fts_squat mail_plugins(imap): zlib antispam quota imap_quota fts fts_squat mail_plugins(pop3): zlib quota mail_plugins(managesieve): mail_plugin_dir(default): /usr/lib/dovecot/modules/imap mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3 mail_plugin_dir(managesieve): /usr/lib/dovecot/modules/managesieve lda: postmaster_address: hidden at noc.com mail_plugins: autocreate quota sieve fts fts_squat zlib quota_full_tempfail: yes sieve_global_dir: /etc/dovecot/sieve/ auth default: mechanisms: plain login cram-md5 cache_size: 1024 passdb: driver: vpopmail userdb: driver: vpopmail socket: type: listen master: path: /var/run/dovecot/auth-master mode: 438 group: vchkpw plugin: quota: maildir:User quota quota_rule: Trash:ignore quota_rule2: Junk:ignore quota_rule3: &AMk-l&AOk-ments supprim&AOk-s:ignore quota_rule4: Deleted Items:ignore quota_rule5: Deleted Messages:ignore quota_warning: storage=95%% /usr/local/bin/quota-warning.sh 95 quota_warning2: storage=80%% /usr/local/bin/quota-warning.sh 80 antispam_signature: X-DSPAM-Signature antispam_signature_missing: error antispam_trash: trash;Trash;Deleted Items;Deleted Messages;&AMk-l&AOk-ments supprim&AOk-s antispam_spam: Junk antispam_dspam_args: --mode=teft;;--user;%u fts: squat fts_squat: partial=4 full=10 sieve: ~/.dovecot.sieve sieve_storage: ~/sieve zlib_save_level: 9 zlib_save: gz -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 203 bytes Desc: Ceci est une signature ?lectronique PGP URL: <http://dovecot.org/pipermail/dovecot/attachments/20100216/0b29cca3/attachment-0002.bin>
On Tue, 2010-02-16 at 15:30 +0100, St?phane Cottin wrote:> 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_MAGICYeah, bzip2 code is broken in v1.2. I fixed it in v2.0 by basically rewriting the whole thing. Maybe I should just disable bzip2 support in v1.2. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20100216/9167dc1d/attachment-0002.bin>
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 ? -- 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 SIGNED MESSAGE----- Hash: SHA1 Le 16 f?vr. 2010 ? 16:27, Timo Sirainen a ?crit :> On Tue, 2010-02-16 at 15:30 +0100, St?phane Cottin wrote: >> 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 > > Yeah, bzip2 code is broken in v1.2. I fixed it in v2.0 by basically > rewriting the whole thing. Maybe I should just disable bzip2 support in > v1.2. >I've first tried bzip2 but these are errors with gzip. -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) iEYEARECAAYFAkt6uswACgkQUeIu/wInUewfbgCffU7QKSaZ/cirfmuJZdCTi8Vx QMAAn0X+oKT/Kp0nwEwAdHbm3Wb+z8B3 =3/7y -----END PGP SIGNATURE-----
Em 16/02/2010 13:27, Timo Sirainen escreveu:> Yeah, bzip2 code is broken in v1.2. I fixed it in v2.0 by basically > rewriting the whole thing. Maybe I should just disable bzip2 support in > v1.2. >will dovecot 2.0 be able to handling mixed maildirs with gzip and bzip2 compressed messages, or all messages should use just one or the other ? -- 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