On 4/19/2010 8:03 PM, donovan jeffrey j wrote:

question on my setup. my primary MX server sits inside my network, with a NATed 
IP. my postfix config references only the inside network.
should i move this MX server outside and use it's public address in the config 
? inbound mail gets checked and relayed to a content filter on another server.

mynetworks = 127.0.0.1/32,192.168.0.10/32,10.135.0.0/16

or am i fine leaving it behind the NAT ?

Postfix will work just dandy behind a NAT device, assuming a sane NAT configuration that allows postfix to log the real remote client IP and not the NAT device IP

You should add your external IP to the proxy_interfaces parameter. Postfix uses that for loop detection and to accept mail to postmas...@[external.ip]
http://www.postfix.org/postconf.5.html#proxy_interfaces

# main.cf
proxy_interfaces = public.ip.address.here

  -- Noel Jones

Reply via email to