On 25 April 2017 at 21:19, Tumbleweed <jungle...@gmail.com> wrote: > I’m setting up my first mail server. > > I’ve installed Postfix, configured a few options, and can send mail > successfully. I have two addresses, one IPv4 and one IPv6, and I’ve set up > my SPF record to my IPv4, which is the one I’d like to use to send emails. > The problem is that Postfix refuses to send emails from that IPv4 address > alone, instead choosing to send email from my IPv6 address about half the > time. In main.cf, I’ve tried every relevant combination of > smtp_bind_address, smtp_bind_address6, inet_interfaces, and mynetworks that > I can think of. I’ve also tried setting smtp_bind_address in master.cf as > described here: http://www.postfix.org/postconf.5.html#smtp_bind_address. > I > also followed the debugging instructions > (http://www.postfix.org/DEBUG_README.html) to the best of my ability, but > I’m afraid I tapped out when I got to the “tracing the program” steps; I > just don’t have the requisite C ability. > > System: Debian Stable, Postfix version 2.11.3-1 >
Try: inet_protocols <http://www.postfix.org/postconf.5.html#inet_protocols> = ipv4