[Dovecot] LDAP auth and multiple attributes to construct the mail path

Timo Sirainen tss at iki.fi
Fri Aug 31 16:56:59 EEST 2012


On 31.8.2012, at 2.45, Anatoly Ivanov wrote:

> So I am trying to construct mail path for my LDAP user lookups, and i need
> to use two attributes instead of one.
> 
> For examle, my LDAP directory has two attributes: departmentAttr and
> userIDAttr, and I want the maildir to reside in
> /home/${departmentAttr}/${userIDAttr}

With v2.1:

/home/%{ldap:departmentAttr}/%{ldap:userIDAttr}

With older versions: you can't.



More information about the dovecot mailing list