-----Original Message----- From: Timo Sirainen [mailto:tss@iki.fi] Sent: Monday, March 12, 2007 5:26 PM To: Curt LeCaptain Cc: Dovecot Mailing List Subject: Re: [Dovecot] Problems fetching mail
On Mon, 2007-03-12 at 17:10 -0500, Curt LeCaptain wrote:
dovecot: Mar 12 17:04:09 Error: IMAP(example): mbox sync: UID inserted
in the middle of mailbox /var/mail/example (2366574855 > 1, seq=1, idx_msgs=3) dovecot: Mar 12 17:04:09 Error: IMAP(example): mbox sync: UID inserted
in the middle of mailbox /var/mail/example (2366574855 > 1, seq=1, idx_msgs=3)
This is probably the cause of all your problems. http://wiki.dovecot.org/MboxProblems explains what it means.
Are you maybe changing the INBOX's location? For example if Dovecot sometimes accessed INBOX from /var/mail/example, and other times from ~/mail/inbox this could happen. But why it would use two different INBOXes I don't know.
Then again there still were a few mbox bugs in rc26. You could try if the upcoming rc27 fixed them. It'll be released tomorrow, or you can already get basically the same version from http://dovecot.org/nightly/dovecot-latest.tar.gz
According to your other e-mail, you asked me to also remove the indexes from the ~/mail/.imap directory, I did so and this time the out of sequence error didn't happen, but the same error in Thunderbird did (Error in IMAP command UID: Invalid UID messageset."
I see a suggestion about the SMTP server and header filtering. I'm not sure I want to do this right now, but could Postfix be causing some of these issues? Might be a bit far fetched, but I'm just looking for any ideas.