[Dovecot] All index file bugs fixed(?)

Niki Guldbrand niki.guldbrand at gmail.com
Sat Jan 20 14:58:31 UTC 2007


On Sat, 2007-01-20 at 00:25 +0100, Rainer Ophoven wrote:
> Timo Sirainen wrote:
> > On Fri, 2007-01-19 at 23:55 +0100, Rainer Ophoven wrote:
> >> Error: IMAP(rainer): Fixed index file
> >> /home/rainer/Maildir/.INBOX.amavisd/dovecot.index:
> >> first_recent_uid_lowwater 199 -> 198
> > 
> > Wonder how this problem could be reproduced.. How often does it happen
> > to you? Does the error happen when you're doing something actively for
> > the mailbox, or only when you're away idling? What happens to the
> > INBOX.amavisd mailbox in general? How do the mails get there (Dovecot
> > deliver, IMAP copy, something else)? Do you delete mails from it?
> > 
> > Have you tried if mmap_disable=yes removes this problem?
> > 
> It happens every 2nd day or so , sometimes two or three times a day,
> then it won't happen for a few days at all.
> 
> Tonight it happened, after restarting my windows-box from hibernation,
> but I closed Thunderbird explicitely before XP went into hibernation.
> 
> the messages get to INBOX.amavisd and INBOX.dovecot by rules that I set
> up in Thunderbird depending on "subject" and "from". It's meant as a
> means to sort messages on arrival (more or less). the mails are
> originally delivered to INBOX by postfix - not using dovecot-deliver.
> 
> I sure delete mails from these mailboxes, maybe sometimes while
> Thunderbird ist still in the process of refreshing and moving mails from
> INBOX to the two sub-mailboxes.
> 
> I have three
> 

Hi.

Your setup looks just like mine here, so i just checked my logs and i
can see that i have the same in the logs as you have.

I have fetchmail -> postfix -> maildir

and i have the mail client do the sorting too, which also has been
thunderbird for a period, and is now evolution again.

niki2 dovecot # grep "Fixed" *
log-2007-01-02-01:00:40:Jan  1 22:30:02 [dovecot] IMAP(niki): Fixed
index file /home/niki/.maildir_aux/.INBOX.Mail
Lists.Gentoo.Dev/dovecot.index: first_recent_uid_lowwater 400 -> 399
log-2007-01-02-01:00:40:Jan  2 00:51:13 [dovecot] IMAP(niki): Fixed
index file /home/niki/.maildir_aux/.INBOX.Mail
Lists.Gentoo.Hardened/dovecot.index: first_recent_uid_lowwater 31 -> 30
log-2007-01-03-02:36:02:Jan  2 01:00:40 [dovecot] IMAP(niki): Fixed
index file /home/niki/.maildir_aux/.INBOX.Mail
Lists.Gentoo.Dev/dovecot.index: first_recent_uid_lowwater 411 -> 409
log-2007-01-03-02:36:02:Jan  2 04:00:42 [dovecot] IMAP(niki): Fixed
index file /home/niki/.maildir_aux/.INBOX.Mail
Lists.Gentoo.Dev/dovecot.index: first_recent_uid_lowwater 422 -> 420
log-2007-01-03-02:36:02:Jan  2 23:22:55 [dovecot] IMAP(niki): Fixed
index file /home/niki/.maildir_aux/.INBOX.Mail
Lists.Gentoo.Dev/dovecot.index: first_recent_uid_lowwater 430 -> 428
log-2007-01-06-08:59:50:Jan  5 16:00:31 [dovecot] IMAP(niki): Fixed
index file /home/niki/.maildir_aux/.INBOX.Mail
Lists.Dovecot.cvs/dovecot.index: first_recent_uid_lowwater 1044 -> 1043

And this is the installation dates of dovecot, so it spans 3 versions,
don't have logs further back, so don't know if any older versions are
affected.

Wed Dec 27 13:16:16 2006 >>> net-mail/dovecot-1.0_rc15-r1

Sat Jan  6 09:08:37 2007 >>> net-mail/dovecot-1.0_rc16

Tue Jan  9 01:35:17 2007 >>> net-mail/dovecot-1.0_rc17

I have "mail_read_mmaped = yes" and the rest of the mmap stuff is
commented out.

the environment is linux kernel 2.6.19-gentoo-r4, on a x86_64 laptop.

And i haven't tried the snapshot yet.


Regards

Niki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070120/2d223858/attachment.pgp 


More information about the dovecot mailing list