[Dovecot] Help with new syslog errmsgs
I am bringing more people onto Dovecot...and am beginning to see syslog error messages I've never seen before...what are they/are they critical? 1 ===========================
Jun 12 09:53:21 mercury mail:err|error dovecot: IMAP(gregory): Corrupted index c ache file /var/dcndx/gregory/.imap/INBOX/dovecot.index.cache: indexid changed This has the same date stamp as the user's change date on his .subscriptions...which he created by copying his UWIMAP .mailboxlist from a login prompt. Is this what happens when the user with active sessions overwrites/creates the .subscriptions file?
2 ===========================
Jun 12 11:32:36 mercury mail:err|error dovecot: IMAP(gregory): UIDVALIDITY chang ed (1100532544 -> 1178155834) in mbox file /home/hcrc/gregory/mail/Sent Have no idea what this is about......
--
Stewart Dean, Unix System Admin, Henderson Computer Resources
Center of Bard College, Annandale-on-Hudson, New York 12504
sdean@bard.edu voice: 845-758-7475, fax: 845-758-7035
On Tue, 2007-06-12 at 15:01 -0400, Stewart Dean wrote:
I am bringing more people onto Dovecot...and am beginning to see syslog error messages I've never seen before...what are they/are they critical? 1 ===========================
Jun 12 09:53:21 mercury mail:err|error dovecot: IMAP(gregory): Corrupted index c ache file /var/dcndx/gregory/.imap/INBOX/dovecot.index.cache: indexid changed
This means that for the mailbox dovecot.index file was deleted, but dovecot.index.cache file wasn't. There might have been an earlier error which caused the deletion. In any case this isn't an actual error message. Maybe I should remove it completely some day.
2 ===========================
Jun 12 11:32:36 mercury mail:err|error dovecot: IMAP(gregory): UIDVALIDITY chang ed (1100532544 -> 1178155834) in mbox file /home/hcrc/gregory/mail/Sent Have no idea what this is about......
It means that you're using a mix of UW-IMAP, Dovecot and yet another 3rd thing that deleted the first message from the mbox file (or all messages, or the whole file).
On Tue, 2007-06-12 at 22:10 +0300, Timo Sirainen wrote:
Jun 12 11:32:36 mercury mail:err|error dovecot: IMAP(gregory): UIDVALIDITY chang ed (1100532544 -> 1178155834) in mbox file /home/hcrc/gregory/mail/Sent Have no idea what this is about......
It means that you're using a mix of UW-IMAP, Dovecot and yet another 3rd thing that deleted the first message from the mbox file (or all messages, or the whole file).
A better explanation:
UIDVALIDITY is stored in X-IMAPbase or X-IMAP header of the first message in mbox file. This is done by both Dovecot and UW-IMAP (and Pine). It's also stored in dovecot.index file. It shouldn't normally change, because if it does it means that client has to download all the messages for the mailbox again.
So what could cause this:
- Dovecot accesses Sent mailbox 2a. Sent mailbox gets truncated or the first message gets deleted by something else than Dovecot or UW-IMAP, losing the X-IMAP* header. 2b. Sent mailbox gets deleted/renamed by something else than Dovecot.
- Sent mailbox is created and accessed by UW-IMAP, which notices that the mailbox is missing X-IMAP* header so it assigns a new UIDVALIDITY.
- Dovecot accesses again the Sent mailbox. UIDVALIDITY in the mbox file's header doesn't match the one in dovecot.index file. It logs an error and updates the UIDVALIDITY in its index files to the new one.
This again isn't really an error, but Dovecot doesn't handle it very nicely currently. I think it fails to open the mailbox for the first time, but the next time will the succeed (or maybe it was with maildir).
participants (2)
-
Stewart Dean
-
Timo Sirainen