As I understand it, special_result_attribute is expected to be a DN
type, since it then uses the results of that to look up the DNs
referenced, trying to find result_attribute under them. It wouldn't be
valid to have rfc822member listen in special_result_attribute.
Adrian
Thomas wrote:
Re,
# cat /etc/postfix/groups.cf
server_host = ldap.domain.com
version = 3
search_base = ou=groups,ou=mail,dc=domain,dc=com
query_filter =
(&(objectClass=qmailGroup)(|(mail=%s)(mailAlternateAddress=%s)))
result_attribute = rfc822member
special_result_attribute = dnmember
leaf_result_attribute = mail
A solution would be to put rfc822member as a special result attribute.
special_result_attribute = dnmember, rfc822member
But I don't know if it's /clean/ do to that.
BTW, I'm using postfix 2.5.5 (Debian Lenny)
Cheers,
Thomas