Unabler to send messages via Postfix

I’m trying to configure a postfix instance for a Discourse install. Everytime I try to send an email I get this error:

Aug 11 10:29:06 basquewaves postfix/smtp[32662]: connect to ASPMX.L.GOOGLE.COM[]:25: Connection timed out
Aug 11 10:29:06 basquewaves postfix/smtp[32662]: connect to ASPMX.L.GOOGLE.COM[2a00:1450:400c:c03::1a]:25: Network is unreachable

I tried the connection using telnet, and didn’t work neither. Is it possible that the port is closed ?

root@basquewaves:~# telnet 25
Trying 2a00:1450:400c:c05::1a...
telnet: Unable to connect to remote host: Network is unreachable

Thanks in advance

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Fixed, Port 25 was closed by DigitalOcean Fast support helped me to fix that! thanks

It looks like your SMTP port is filtered. Please open up a support ticket and the team will gladly open it for you after verifying your account.