[Date Prev][Date Next] [Chronological] [Thread] [Top]

schema for mailing group with postfix



is it possible to use this type of schema to manage mailing list with postfix?
with dn as members instead of uids.

dn: cn=uneliste,ou=Aliases,o=cust
objectClass: top
objectClass: groupOfNames
cn: uneliste
member: uid=user4,ou=EtudiantsCust,ou=Etudiants,ou=People,o=cust
member: uid=user2,ou=EtudiantsCust,ou=Etudiants,ou=People,o=cust

it seems that postfix need an attribute for the result of the search and i 
think it must be an uid and can't be a dn.

any idea to do it ?



actualy i use this postfix config 
#my postfix config :
ldapsource3_server = champi
ldapsource3_serverport = 389
ldapsource3_search_base = ou=Aliases, o=cust
ldapsource3_timeout = 10
ldapsource3_query_filter = (cn=%s)
ldapsource3_result_attribute = member
ldapsource3_bind = no

with this schema

dn: cn=uneliste,ou=Aliases,o=cust
objectClass: top
objectClass: groupOfNames
cn: uneliste
member: user1
member: user2