On Thu, 2007-06-28 at 10:31 -0700, Mark Edwards wrote:
One thing that confused me is that setting the home attribute in
userdb doesn't override mail_location, and in fact doesn't seem to
have any affect unless the mail attribute is set.
Home directory is used wherever you have ~/ or %h. Or in your case because you tried to use a relative mail_location path and Dovecot chdired to home dir.
So, is it correct
that mail_location is the rule, unless mail is set in user_attrs, in
which case mail_location is overridden with the attributes from
user_attrs? Is that how it works?
Right. And you can override pretty much any other setting from userdb as well.
Hmm. Perhaps userdb should be returning mail_location also instead of mail to make this more understandable.