[Dovecot] Custom LDAP filter for doveadm-mailbox?

Zhang Huangbin zhbmaillistonly at gmail.com
Thu Apr 19 18:30:17 EEST 2012


Dear Timo, 

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?

Thanks. 

----
Zhang Huangbin

iRedMail: Open Source Mail Server Solution for Red Hat Enterprise Linux,
CentOS, Scientific Linux, Debian, Ubuntu, Mint, Gentoo, openSUSE,
FreeBSD: http://www.iredmail.org/





More information about the dovecot mailing list