Hello

I am trying to configure postfix to pull the values of a LDAP user group and
distribute the email accordingly.  I have gotten as far as having it pull
the info however it passes it as one long comma separated string and as such
it is not correctly delivering email. Below is a copy of my config and the
results of a postmap

# LDAP Dump

# Entry 1: cn=eGroup-IT,ou=Groups,dc=mam,dc=gov
dn: cn=eGroup-IT,ou=Groups,dc=mam,dc=gov
cn: eGroup-IT
description: IT mail Group list
mail: egroup...@mam.gov.tt
member: uid=agardb,ou=Users,dc=mam,dc=gov
member: uid=bartholomewd,ou=Users,dc=mam,dc=gov
member: uid=bhagoon,ou=Users,dc=mam,dc=gov
member: uid=coopern,ou=Users,dc=mam,dc=gov
objectclass: mailGroup
objectclass: top


# ldap-user.cf

server_host = ops.mam.gov.tt
search_base = dc=mam,dc=gov
version = 3
query_filter = (mail=%s)
result_attribute = uid
special_result_attribute = member
terminal_result_attribute = member
leaf_result_attribute = uid
result_format = %s/Maildir/

# postmap -q egroup...@mam.gov.tt ldap:/etc/postfix/ldap-users.cf
agardb/Maildir/,bartholomewd/Maildir/,bhagoon/Maildir/,coopern/Maildir/

I would like it to pass each value individually. Can anyone help?


Trust that all thing would work out for the good.
Keep standing. Keep believing. Keep hoping. Keep moving forward.

Advertise Your goods and services for free on Trin e-Ads
http://www.trin-e-ads.com

Reply via email to