[Dovecot] Turning on autocreate of maildirs - how?

Graham Leggett minfrin at sharp.fm
Tue Mar 11 16:04:57 UTC 2014


Hi all,

I have a dovecot v2.2.7 installation, and I would like dovecot to autocreate the Maildir mailbox when those mailboxes don't exist. Following the instructions at http://wiki2.dovecot.org/MailboxSettings have had no effect, the errors below are reported.

As soon as I create the Maildir manually with maildirmake fetching mail starts working fine, so all of the messages about the directory being ambiguous seem to be a red herring.

Anyone know how to turn this on?

Mar 11 16:02:37 monica dovecot: imap: Debug: Added userdb setting: mail=/home/vmail/test at sharp.fm/
Mar 11 16:02:37 monica dovecot: imap(test at sharp.fm): Debug: Effective uid=517, gid=517, home=
Mar 11 16:02:37 monica dovecot: imap(test at sharp.fm): Debug: Namespace inbox: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes location=/home/vmail/test at sharp.fm/
Mar 11 16:02:37 monica dovecot: imap(test at sharp.fm): Debug: mdbox autodetect: stat(/home/vmail/test at sharp.fm/storage) failed: No such file or directory
Mar 11 16:02:37 monica dovecot: imap(test at sharp.fm): Debug: sdbox autodetect: stat(/home/vmail/test at sharp.fm/mailboxes) failed: No such file or directory
Mar 11 16:02:37 monica dovecot: imap(test at sharp.fm): Debug: maildir autodetect: stat(/home/vmail/test at sharp.fm/cur) failed: No such file or directory
Mar 11 16:02:37 monica dovecot: imap(test at sharp.fm): Debug: mbox autodetect: INBOX file: stat(/home/vmail/test at sharp.fm) failed: No such file or directory
Mar 11 16:02:37 monica dovecot: imap(test at sharp.fm): Debug: mbox autodetect: has .imap/: stat(/home/vmail/test at sharp.fm/.imap) failed: No such file or directory
Mar 11 16:02:37 monica dovecot: imap(test at sharp.fm): Debug: mbox autodetect: has inbox: stat(/home/vmail/test at sharp.fm/inbox) failed: No such file or directory
Mar 11 16:02:37 monica dovecot: imap(test at sharp.fm): Debug: mbox autodetect: has mbox: stat(/home/vmail/test at sharp.fm/mbox) failed: No such file or directory
Mar 11 16:02:37 monica dovecot: imap(test at sharp.fm): Debug: sdbox autodetect: stat(/home/vmail/test at sharp.fm/mailboxes) failed: No such file or directory
Mar 11 16:02:37 monica dovecot: imap(test at sharp.fm): Error: user test at sharp.fm: Initialization failed: Namespace '': Ambiguous mail location setting, don't know what to do with it: /home/vmail/test at sharp.fm/ (try prefixing it with mbox: or maildir:)
Mar 11 16:02:37 monica dovecot: imap(test at sharp.fm): Error: Invalid user settings. Refer to server log for more information.

Regards,
Graham
--



More information about the dovecot mailing list