Some addional information that I found:
This problem started on 02/21/2008 when I moved a message that has id 1191941480.M342094P9293V0000000000000903I003B9713_0.cronos from .Spam folder to INBOX and then moved the message back to .Spam folder.
Today this message looks to be causing the problem.... still! See some loggging:
dovecot: 2008-02-27 17:55:33 Error: IMAP(fcatunda@contactnet.com.br): Maildir /var/virtual/contactnet.com.br/fcatunda/Maildir sync: UID inserted in the middle of mailbox (8055 > 8042, file = 1191941480.M342094P9293V0000000000000903I003B9713_0.cronos,S=3129:2,ST) dovecot: 2008-02-27 17:57:46 Error: IMAP(fcatunda@contactnet.com.br): Corrupted index cache file /var/virtual/contactnet.com.br/fcatunda/Maildir/dovecot.index.cache: indexid changed dovecot: 2008-02-27 20:17:57 Error: IMAP(fcatunda@contactnet.com.br): Maildir /var/virtual/contactnet.com.br/fcatunda/Maildir sync: UID inserted in the middle of mailbox (8055 > 8042, file = 1191941480.M342094P9293V0000000000000903I003B9713_0.cronos,S=3129:2,ST)
I don't know if it helps or not, but I believe that this is a good tip about the problem.
Thanks.
Timo Sirainen escreveu:
On Feb 27, 2008, at 2:24 PM, Fábio M. Catunda wrote:
dovecot: 2008-02-27 08:39:39 Warning: IMAP(
): fscking index file /var/virtual/contactnet.com.br/fcatunda/Maildir/dovecot.index There isn't anything else before this line? Something causes fsck, which causes:
dovecot: 2008-02-27 08:39:39 Error: IMAP(
): Unexpected transaction log desync with index /var/virtual/contactnet.com.br/fcatunda/Maildir/dovecot.index What filesystem do you use? Do you use NFS? Show your dovecot -n output?