Victor Duchovni: > On Fri, Jun 18, 2010 at 11:41:46AM -0400, Wietse Venema wrote: > > > > This is robust and easy to document. The work-arounds I posted > > > also work, but are less elegant and should be avoided. If the > > > OP wants to use them, fine, he is fully informed... > > > > I recommend a different myhostname per "port 25" instance. The > > Postfix SMTP client verifies the HELO response and will declare a > > loop when the best MX host replies to HELO with the client's own > > myhostname. > > Sure, but when the destination IP address is listed in inet_interfaces, > the connection is not even made and a loop is detected. Hostname tweaks > don't help in this case, the idea is to not forward to your own port > 25, where "your own" means an IP address that is listed in instance's > "inet_interfaces".
Even if you have different IP addresses, Postfix will declare a loop when the server responds with myhostname to HELO. Therefore a different myhostname is NECESSARY but not sufficient. Wietse