Re: Body checks on incoming only

From: Kyle Dent (no email)
Date: Wed Aug 02 2006 - 16:53:13 EDT

  • Next message: Magnus Bäck: "Re: Aliasing (alias_maps) not working on an edge server"

    Alex Palenschat wrote:
    >> I have a How-To at
    >> http://www.seaglass.com/postfix/turning_off_body_checks.html that
    >> describes this second option.
    >
    >> Kyle
    >
    > I am trying to do this same thing and bypass the content filter as well.
    > But the difference with my situation is that my postfix is configured as
    > an email firewall/gateway. I have two interfaces, one with a public IP
    > and one an internal IP. If I use inet_interfaces to only have postfix
    > listen on the public IP then it can't forward mail to the internal MDAs.

    One smtpd instance listens on the public interface and a second smtpd
    instance listens on the internal one.

    > I have tried reading the docs on inet_interfaces and
    > receive_override_options but don't seem to be getting it.
    > If I specify:
    >
    > /etc/postfix/main.cf
    > inet_interfaces = all
    >
    > and in master.cf
    >
    > <Public IP>:smtp inet n - n - - smtpd
    >
    > And
    >
    > <Internal IP>:smtp inet n - n - - smtpd
    > -o content_filter=
    > -o receive_override_options=no_header_body_checks
    >
    > Will I accomplish having all external email filtered but all outbound
    > (mail from users) not filtered? Or will this confuse postfix and I need
    > to run two separate instances?

    You probably don't have to specify the public IP address in master.cf.
    Otherwise, this should do what you want.

    Kyle


  • Next message: Magnus Bäck: "Re: Aliasing (alias_maps) not working on an edge server"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD