On 5 Jun 2015, at 16:39, Janos Dohanics wrote:

Hello Postfix Experts,

More important in this case: native English speakers.

I want Postfix send mail from 199.233.231.177, so I set:

# postconf inet_interfaces
inet_interfaces = 199.233.231.177, localhost

But, the mail log on the destination server says:

Jun 5 13:43:52 barrida postfix/smtpd[54769]: connect from gtxd.x.rootbsd.net[162.217.113.30]

So, I added to the main.cf file:

# postconf smtp_bind_address
smtp_bind_address = 199.233.231.177

And now Postfix sends mail from the desired IP address, 199.233.231.177.

Jun 5 16:24:47 barrida postfix/smtpd[56193]: connect from unknown[199.233.231.177]

But I should not need smtp_bind_address set to 199.233.231.177 as
according to 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."

Evidently, I'm missing something, would you please help?

Your configuration does not specify "just one IPv4 and/or IPv6 address that is not a loopback address". It specifies two addresses, just one of which is not a loopback address. Those are quite different statements.

It might be less open to misunderstanding if that bit said "just one IPv4 and/or IPv6 address AND that address is not a loopback address" but it makes for a clumsier sentence. I am unable to explain logically why the existing sentence does not say what you understood it to mean, I can only say that it's idiomatic English.

Reply via email to