[Dovecot] How can i override mail_location?
Zhang Huangbin
zhbmaillistonly at gmail.com
Sat Mar 14 03:45:53 EET 2009
Thanks Steffen. :)
Steffen Kaiser wrote:
> "mailMessageStore=maildir:mail"
>
> this looks odd. Try:
>
> mailMessageStore=mail
>
If i use absolute path in mailMessageStore, the maildir path is correct
with 'mailMessageStore=mail', but deliver doesn't create the directory
recursively:
----
deliver(www at a.cn): Mar 14 09:42:33 Info: auth input: home=/home/vmail
deliver(www at a.cn): Mar 14 09:42:33 Info: auth input:
quota_rule=*:bytes=104857600
deliver(www at a.cn): Mar 14 09:42:33 Info: auth input:
mail=/home/vmail/a.cn/w/ww/www/
deliver(www at a.cn): Mar 14 09:42:33 Info: auth input:
sieve_dir=/home/vmail/sieve/a.cn/www/
deliver(www at a.cn): Mar 14 09:42:33 Info: Quota root: name=
backend=maildir args=
deliver(www at a.cn): Mar 14 09:42:33 Info: Quota rule: root= mailbox=*
bytes=104857600 messages=0
deliver(www at a.cn): Mar 14 09:42:33 Info: maildir autodetect:
stat(/home/vmail/a.cn/w/ww/www//cur) failed: No such file or directory
deliver(www at a.cn): Mar 14 09:42:33 Info: mbox autodetect:
data=/home/vmail/a.cn/w/ww/www/
deliver(www at a.cn): Mar 14 09:42:33 Info: mbox autodetect: INBOX file:
stat(/home/vmail/a.cn/w/ww/www/) failed: No such file or directory
deliver(www at a.cn): Mar 14 09:42:33 Info: mbox autodetect: has .imap/:
stat(/home/vmail/a.cn/w/ww/www//.imap) failed: No such file or directory
deliver(www at a.cn): Mar 14 09:42:33 Info: mbox autodetect: has inbox:
stat(/home/vmail/a.cn/w/ww/www//inbox) failed: No such file or directory
deliver(www at a.cn): Mar 14 09:42:33 Info: mbox autodetect: has mbox:
stat(/home/vmail/a.cn/w/ww/www//mbox) failed: No such file or directory
deliver(www at a.cn): Mar 14 09:42:33 Error: mail_location: Ambiguous mail
location setting, don't know what to do with it:
/home/vmail/a.cn/w/ww/www/ (try prefixing it with mbox: or maildir:)
deliver(www at a.cn): Mar 14 09:42:33 Fatal: Namespace initialization failed
----
How can i solve this?
--
Best regards.
Zhang Huangbin
- Open Source Mail Server Solution for RHEL/CentOS 5.x:
http://code.google.com/p/iredmail/
More information about the dovecot
mailing list