Folks -
My setup is that my mail is filed (by procmail) in ~/.mail/Maildir, an NFS filesystem. But I'm running Dovecot (1.0alpha5) on my local machine (as myself on port 2143), just to serve this mail to my browser (Thunderbird 1.0.2).
The NFS data is on a netapp which seems to be creating .nfs files LIKE CRAZY. I expect these are the remnants of lock files, so I'm trying to move my indexes onto local disk. To that end, I've created /var/tmp/mario/dovecot and put the following into my dovecot.conf:
default_mail_env = maildir:%h/.mail/Maildir:INDEX=/var/tmp/mario/dovecot
Dovecot happily makes index files, but then fails to serve some of my subscribed folders!
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
I've turned mmap off and set locking to fcntl.
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.
Any suggestions? How do I debug this further?
Mario