|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Body checks on incoming only
From: Kyle Dent (kdent
seaglass.com)
Date: Wed Aug 02 2006 - 15:53:13 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]