> On Apr 23, 2018, at 3:50 PM, @lbutlr <krem...@kreme.com> wrote:
> 
> That does not match what the documentation says, which I quoted. Here it is 
> again.
> 
> <http://www.postfix.org/postconf.5.html#inet_interfaces>
> When inet_interfaces specifies just one IPv4 and/or IPv6 address that is not 
> a loopback address, the Postfix SMTP client will use this address as the IP 
> source address for outbound mail. Support for IPv6 is available in Postfix 
> version 2.2 and later.

The conditions are:

   * Exactly one address (of the appropriate address family)
   * That address is not a loopback address

The text could be read as:

   * Exactly one non-loopback address (of the appropriate address family)

but that's not what is implemented.  If you also list "127.0.0.1" the bind 
address will not be set.  This makes sense, because either address may be 
needed for some subset of the connections.  The text could be more clear, but 
bottom line you need to set smtp_bind_address explicitly, possibly 
per-transport, if some transports deliver to localhost.

-- 
        Viktor.

Reply via email to