[Dovecot] pop3 not autocreating directory structure
We use:
mail_home = /srv/mailstore/%256LRHu/%Ld/%Ln
mail: mdbox:~/mdbox
and I just noticed one of our newly provisioned users initially failed to pop her mails. I saw several of these:
dovecot:: pop3(new.user@example.net): Error: Couldn't open INBOX: Mailbox doesn't exist: INBOX
dovecot:: pop3(new.user@example.net): Couldn't open INBOX top=0/0, retr=0/0, del=0/0, size=0
before she switched to imap and then everything looked fine:
dovecot:: imap(new.user@example.net): Disconnected: Logged out bytes=11/338
Looking at the timestamps in the filesystem I see that the users home directory wasn't created before switcing to imap.
Is this a know problem?
-jf
On 14.2.2012, at 21.34, Jan-Frode Myklebust wrote:
dovecot:: pop3(new.user@example.net): Error: Couldn't open INBOX: Mailbox doesn't exist: INBOX
Looking at the timestamps in the filesystem I see that the users home directory wasn't created before switcing to imap.
Is this a know problem?
Probably again a bug in your specific Dovecot version. :) I remember doing fixes related to this (not entirely sure if it was only for v2.1).
On Wed, Feb 15, 2012 at 03:49:21AM +0200, Timo Sirainen wrote:
Looking at the timestamps in the filesystem I see that the users home directory wasn't created before switcing to imap.
Is this a know problem?
Probably again a bug in your specific Dovecot version. :) I remember doing fixes related to this (not entirely sure if it was only for v2.1).
Is it maybe changeset 11683:148fccbe9f32 you remeber:
- - maildir: sometimes rm -rf Maildir;imaptest logout=0 gives
- Error: Opening INBOX failed: Mailbox doesn't exist: INBOX
This was just the updated to the todo-list, but I can't see what the fix was. Also, if it was just occationally failing, it might not be that critical.. So far it's only happended for one user for the last 36 hours, so either it's only occationally failing, or the other new users are visiting webmail/imap before pop.
-jf
On Wed, 2012-02-15 at 12:52 +0100, Jan-Frode Myklebust wrote:
Is it maybe changeset 11683:148fccbe9f32 you remeber:
- maildir: sometimes rm -rf Maildir;imaptest logout=0 gives
- Error: Opening INBOX failed: Mailbox doesn't exist: INBOX
That's probably maildir-specific. But dboxes have had same problems.
This was just the updated to the todo-list, but I can't see what the fix was. Also, if it was just occationally failing, it might not be that critical.. So far it's only happended for one user for the last 36 hours, so either it's only occationally failing, or the other new users are visiting webmail/imap before pop.
Yes, it's most likely only temporary and the second login works.
participants (2)
-
Jan-Frode Myklebust
-
Timo Sirainen