On 9/1/2011 9:53 AM, Selcuk Yazar wrote: > Hi, > > We have ldap aliases. in main.cf <http://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.
header_checks are the wrong tool for the job. To protect a mail alias, see this example: http://www.postfix.org/RESTRICTION_CLASS_README.html#internal -- Noel Jones