Tom Loewen: > EHLO list, > > we have two WAN connections. One has the RDNS entry mx0.example.com the > other has mx1.example.com. Is there a way to setup postfix so that he > will reply with the correct hostname? I know that you can do this in > master.cf but the server is behind a NAT, so Postfix didn't have any > knowledge about the WAN-IPs.
http://www.postfix.org/BASIC_CONFIGURATION_README.html#proxy_interfaces You MUST specify external IP addresses with main.cf:proxy_interfaces. This is required to prevent mail from looping between MX hosts, and is required to handle mail for user@[ipaddress]. If you want Postfix to reply with the right hostname without knowing the connection destination address, then send your donations for a project that adds telepathic intelligence to Postfix. Wietse