[Dovecot] Dovecot index issues (Solaris/Thunderbird)
tss at iki.fi
Sun Jan 22 13:50:23 EET 2006
On Mon, 2006-01-16 at 16:46 -0700, Mario Nigrovic-rvvk40 wrote:
> default_mail_env = maildir:%h/.mail/Maildir:INDEX=/var/tmp/mario/dovecot
This looks correct.
> Dovecot happily makes index files, but then fails to serve some of my subscribed folders!
Do you see them in the mailbox list, or don't you just see mails inside
> Thunderbird is less than helpful in telling me what's going wrong, but dtmail shows that dovecot is reporting "out of sync" and a couple other errors (UID out of sequence), then closing the connection (for those folders). This may happen only after Thunderbird has tried to open the folder that I see these errors with dtmail:
> Dovecot ready.
> [UNSEEN 227] First unseen.
> [UIDNEXT 341] Predicted next UID
> IMAP connection broken (server response)
> No-op dead stream
> [CLOSED] No-op dead stream
Doesn't Dovecot's logs say anything? Since this looks like Dovecot
closes the connection, and in that case it should have written something
> I've turned mmap off and set locking to fcntl.
If indexes are in local disk, that's not needed.
> As a last resort, I've turned indexes off
> default_mail_env = maildir:%h/.mail/Maildir:INDEX=MEMORY
> but this makes thunderbird reload all headers every time I open a folder, which takes a very long time.
Thunderbird should be caching the headers locally. If it reloads them
completely, it means the message UIDs have changed. That shouldn't be
What about ~/.mail/Maildir/dovecot-uidlist file? It should contain
1 1127056150 5891
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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20060122/966df5f8/attachment-0001.pgp
More information about the dovecot