[Dovecot] lda and mail_location

Timo Sirainen tss at iki.fi
Thu Jun 28 22:38:58 EEST 2007


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070628/e0e1c181/attachment.bin 


More information about the dovecot mailing list