[Dovecot] Custom LDAP filter for doveadm-mailbox?
Timo Sirainen
tss at iki.fi
Thu Apr 19 18:44:56 EEST 2012
On 19.4.2012, at 18.30, Zhang Huangbin wrote:
> With Dovecot-2.0.16, 'doveadm mailbox list -A' will perform LDAP search with filter "(objectClass=posixAccount)", and get value of attribute 'uid' as mail user. Is it possible to custom the ldap filter and returned attribute name? For example:
>
> - LDAP filter: (&(objectClass=mailUser)(accountStatus=active))
> - Returned attribute name: mail
>
> Did i miss something?
See iterate_* settings in example dovecot-ldap.conf.ext.
More information about the dovecot
mailing list