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.
