Hi, I'm using Dovecot (dovecot-0.99.10p0) on OpenBSD-3.4 for few weeks now. When i connect to my IMAP account the connection is often closed by dovecot when i try to delete mails. I can see messages like this in log: Feb 29 18:47:00 po imap(mat at reynerie.org): Corrupted binary tree file /home/mat/Maildir//.INBOX/.imap.index.tree: used_file_size larger than real file size (1772 vs 1556) I tried to remove all index files, but the problem still occur. I also tried Maildir and Mbox, same problem (i can't remember if the log are similar with mbox, if needed i will test again). I have ktraced the imap process and try (succesfully) to reproduce this behaviour: I have re-send a lot of spam and delete few of them from mailbox until the problem occur. All logs/kdump/config are here: http://mat.reynerie.org/dovecot/ In the kdump file, the problem is visible at the end, Dovecot is compiled (via ports) with: env CFLAGS="-I/usr/local/include -L/usr/local/lib" CONFIGURE_ARGS="--with-ldap --with-ldap-includes=/usr/local/include --with-ldap-lib=/usr/local/lib" make Searching the mailing list archives, i have not found any solutions. -- mat
mat at reynerie.org wrote:> I'm using Dovecot (dovecot-0.99.10p0) on OpenBSD-3.4 for few weeks now.Please update to 0.99.10.4. This solves a lot of problems... Sven
On Sun, 2004-02-29 at 21:59, mat at reynerie.org wrote:> I'm using Dovecot (dovecot-0.99.10p0) on OpenBSD-3.4 for few weeks now. > > When i connect to my IMAP account the connection is often closed by > dovecot when i try to delete mails. > > I can see messages like this in log: > > Feb 29 18:47:00 po imap(mat at reynerie.org): Corrupted binary tree file > /home/mat/Maildir//.INBOX/.imap.index.tree: used_file_size larger than > real file size (1772 vs 1556)I guess Dovecot doesn't work too well with OpenBSD now. Although I haven't heard of constant failures with it. OpenBSD-port had a patch which tried to fix this issue, but I don't think the patch is perfect. Real fix will be next version.. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20040303/15bf4088/attachment-0001.bin>
On Wed, Mar 03, 2004 at 02:25:28AM +0200, Timo Sirainen wrote:> On Sun, 2004-02-29 at 21:59, mat at reynerie.org wrote: > > I'm using Dovecot (dovecot-0.99.10p0) on OpenBSD-3.4 for few weeks now. > > I guess Dovecot doesn't work too well with OpenBSD now. Although I > haven't heard of constant failures with it. OpenBSD-port had a patch > which tried to fix this issue, but I don't think the patch is perfect.Sorry for this late answer. My first try was with the OpenBSD's port, patchs were applied. Without patchs and newer dovecot version, i can't see any differences about the index related problem. I've failed to apply all OpenBSD's patch to dovecot 0.99.10.4, so i didn't applied any.> Real fix will be next version..i'm impatient :) Best regards. -- Matthieu Clavier <mat at reynerie.org>