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