On Mon, 2006-01-23 at 09:11 -0700, Mario Nigrovic-rvvk40 wrote:
What about ~/.mail/Maildir/dovecot-uidlist file? It should contain something like:
1 1127056150 5891 31 1059753523.2405.mbox:2,F 32 1059753524.2405.mbox:2,F
The second number in first line (1127056150) is the UIDVALIDITY. Does it keep changing? The rest of the lines contain <UID> <maildir file>. Do their UIDs keep changing?
Hmm. I don't see any such file! Can it be recreated, or maybe restored from backup?
Dovecot always creates it. If you're able to open the maildir, the first thing that happens is that dovecot-uidlist file gets created. Each mailbox has its own one of those..
I've done a thorough search of the while .mail/Maildir hierarchy, and there are no such files here! I also don't see any in the INDEX directory.
Well, the problem must be related to that then. The dovecot-uidlist files are created immediately after mailbox is opened. Dovecot only deletes them if their contents are corrupted, but then it also writes about that to logs (the log line contains dovecot-uidlist text).
If the dovecot-uidlist file doesn't exists and there isn't anything in logs about them, something's really wrong.