Wow, that was easy. But… why does inet_protocols work when inet_interfaces fails?
Anyway, thanks! > On Apr 25, 2017, at 16:44, Dominic Raferd [via Postfix] > <ml+s1071664n90153...@n5.nabble.com> wrote: > > > > On 25 April 2017 at 21:19, Tumbleweed <[hidden email] > <x-msg://22/user/SendEmail.jtp?type=node&node=90153&i=0>> 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 <http://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 > <http://master.cf/> as > described here: http://www.postfix.org/postconf.5.html#smtp_bind_address > <http://www.postfix.org/postconf.5.html#smtp_bind_address>. I > also followed the debugging instructions > (http://www.postfix.org/DEBUG_README.html > <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 > > > > > > If you reply to this email, your message will be added to the discussion > below: > http://postfix.1071664.n5.nabble.com/smtp-bind-address-isn-t-working-tp90152p90153.html > > <http://postfix.1071664.n5.nabble.com/smtp-bind-address-isn-t-working-tp90152p90153.html> > To unsubscribe from smtp_bind_address isn't working, click here > <http://postfix.1071664.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=90152&code=anVuZ2xlbWUzQGdtYWlsLmNvbXw5MDE1MnwtNDg2MTI5ODEx>. > NAML > <http://postfix.1071664.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> -- View this message in context: http://postfix.1071664.n5.nabble.com/smtp-bind-address-isn-t-working-tp90152p90155.html Sent from the Postfix Users mailing list archive at Nabble.com.