[Dovecot] mail_location %d expansion

Justin McAleer justin at fehuq.com
Mon May 21 14:39:00 EEST 2007


Mark Par wrote:
> hi,
>
> i'm trying to read the mails of virtual users by setting the value of
> mail_location to /mail/virtual/%d/%u/Maildir.  however, the %d does
> not resolve to the domain.  i am using ldap as my passdb and userdb.
> what am i missing here?
>
>
> | May 21 04:32:42 localhost dovecot: auth(default):
> auth(iris.lames at pointwest.com.ph,xx.xx.xx.xx): username changed
> foo.bar at mydom.com -> foo.bar
>

That's why ^^^^. Your ldap passdb query needs to return 
foo.bar at mydom.com as the user variable. See:
http://wiki.dovecot.org/PasswordDatabase/ExtraFields/User




More information about the dovecot mailing list