postfix can't forward email

tail /var/log/mail.log

Nov 12 05:25:28 localhost postfix/smtp[20314]: connect to[2a00:1450:4001:c02::1a]:25: Network is unreachable

telnet 25 Trying… Connected to Escape character is ‘^]’. 220 ESMTP a4si20693693eew.354 - gsmtp

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I tried the SPF Wizard, but I’m still having a problem getting everything to pass on mailtester. I get too many spf lookups as the error.

RE: your SPF record <br> <br>Change the <code>-all</code> to <code>~all</code>. You may also want to run through the <a href=“”>SPF Wizard</code>.

OK, this one seems resolved - the issue was in IPv6, <br>Just set inet_protocols=ipv4 in /etc/postfx/, restart postfix. <br> <br>Now emails are forwarded: <br>postfix/smtp[3819]: EFC4D1C11D5:,,[]:25, delay=6.3, delays=0.3/0/5.2/0.73, dsn=2.0. <br>0, status=sent (250 2.0.0 OK 1384239619 cl1si1153461bkc.228 - gsmtp) <br> <br>status sent, but not appear come to gmail, but this is another story :)