[Dovecot] Dovecot unable to locate mailbox
Jason X, Maney
jsxmoney at gmail.com
Mon Jan 16 14:38:44 EET 2012
Dear all,
I hope someone can point me in the right direction. here. I have setup my
Dovecot v2.0.13 on Ubuntu 11.10. The logs tells me that the mail location
has failed as follows:
=========
Jan 16 14:18:16 myservername dovecot: pop3-login: Login: user=<userA>,
method=PLAIN, rip=aaa.bbb.ccc.ddd, lip=www.xxx.yyy.zzz, mpid=1360, TLS
Jan 16 14:18:16 myservername dovecot: pop3(userA): Error: user molla:
Initialization failed: mail_location not set and autodetection failed: Mail
storage autodetection failed with home=/home/userA
Jan 16 14:18:16 myservername dovecot: pop3(userA): Error: Invalid user
settings. Refer to server log for more information.
=========
Yet my config also come out strangely as below:
=========
root at guyana:~# dovecot -n
# 2.0.13: /etc/dovecot/dovecot.conf
# OS: Linux 3.0.0-12-server x86_64 Ubuntu 11.10
passdb {
driver = pam
}
protocols = " imap pop3"
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
driver = passwd
}
root at guyana:~#
=========
My mailbox location setting is as follows:
=========
cat conf.d/10-mail.conf |grep mail_location
# path given in the mail_location setting.
# mail_location = maildir:~/Maildir
# mail_location = mbox:~/mail:INBOX=/var/mail/%u
# mail_location = mbox:/var/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%n
mail_location = maildir:~/Maildir
# explicitly, ie. mail_location does nothing unless you have a namespace
# mail_location, which is also the default for it.
=========
I am wondering how best to work around this Dovecot problem. Please help.
Regards
Jason.
More information about the dovecot
mailing list