Thanks it works! with protected_destinations and insider settings selçuk
On Thu, Sep 1, 2011 at 7:36 PM, Noel Jones <njo...@megan.vbhcs.org> wrote: > 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 > -- Selçuk YAZAR http://www.selcukyazar.blogspot.com