[Dovecot] After upgrading to 1.2 - absolute path questions

Richard Stockton dovecot at richardleestockton.org
Wed Dec 9 22:22:13 EET 2009


At 11:45 AM 12/9/2009, Timo Sirainen wrote:
>On Wed, 2009-12-09 at 11:38 -0800, Richard Stockton wrote:
> > >password_query = .., 'maildir:/mail/' || home as userdb_mail, ..
> >
> > Sorry, that doesn't work either.  I get an "imap protocol error" in
> > squirrelmail.
>
>And what did Dovecot's logs say? http://wiki.dovecot.org/Logging

mail_location: Ambiguous mail location setting, don't know what to
do with it: 0 (try prefixing it with mbox: or maildir:)

and then

IMAP(my_name): Namespace initialization failed

I believe these errors were from my first attempt, when I just had
"'/mail/' || home as userdb_home".

When I added the "'maildir:/mail/' || home as userdb_mail," I didn't
see any errors in the dovecot-info.log, just the imap protocol error
in squirrelmail.

> > I see your other mail suggesting "mail_location = maildir:~/", but I
> > don't understand that one either.  Doesn't the tilde refer to a local
> > user on the server?
>
>No. It refers to home returned by userdb lookup.

Hmmm, okay I see how that is supposed to work.

Unfortunately I had a couple of client complaints with my previous
one minute (or so) tests, so I won't be able to do anything more
with this until later today, or perhaps tomorrow.

Thanks for your help so far, I'll keep beating on it. ;-)
  - Richard



More information about the dovecot mailing list