Hi, We have ldap aliases. in main.cf virtual_alias_maps : ldap:aliases, ldap:accountsmap setting.
i want to create a control for these aliases that sent mail only internal with using header_checks. but header_checks restriction doesn't wok with above settings. any way i also enable forward thing.for this i applied ldap-forward-example.cf: ---------------------- Code: server_host = ldap-server.example.com search_base = ou=People,dc=example,dc=com version=3 timeout = 10 size_limit = 1 bind = yes bind_dn = cn=Manager,dc=example,dc=com bind_pw = password query_filter = (mail=%s) result_attribute = mail, addressToForward ---------------------- Within the main.cf file: virtual_alias_maps = ldap:/etc/postfix/ldap-forward-example.cf configuration. this time header_checks works. also forward works but after that i have mail, testalias@domain..... user_unknow. what is the problem ?. i think postfix find aliases and deliver mails to aliases members, also postfix deliver copy of mail to aliases member's forward address but server says user_unknown. thanks in advance. -- Selçuk YAZAR