I create the list in ldap with groups.

in my main.cf:
alias_maps = hash:/etc/aliases, ldap:/etc/postfix/ldap.cf

ldap.cf contains:

server_host = server.ldap
search_base = ou=Groups,dc=domain,dc=my
result_attribute = memberUid
scope = sub
query_filter = mail=%s

when you create group, must put attributes: maildrop and mail

maildrop: gr...@mydomain.com

mail: group

after must add the users belong this group.

I dont edit never /etc/aliases because my users are OpenLdap.


Ralf Hildebrandt  said, is valid also.



-- 
Jose Alberto Pertuz
GNU-Linux user #452473
Caracas,Venezuela
58+414+1279657

Reply via email to