Question

I am not able to send mail outside the network but can receive from outside

I am not able to send mail outside the network but can receive from outside I am running ubuntu 22.04 and iredmail 1.6.0, when I see the mail log it shows that connect to gmail-smtp-in.l.google.com[142.250.142.26]:25: Connection timed out connect to gmail-smtp-in.l.google.com[2607:f8b0:4023:1c01::1a]:25: Network is unreachable connect to alt1.gmail-smtp-in.l.google.com[2607:f8b0:4023:1004::1a]:25: Network is unreachable


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.

Hi @littlebluegreenanchor,

It seems you are using port 25.

I’ll recommend you to use ports 465 or 587 instead of using port 25 to send your emails.

You can also use a third-party mail provider like SendGrid in order to avoid issues like this one. I’ll also recommend checking this article:

https://www.digitalocean.com/community/tutorials/why-you-may-not-want-to-run-your-own-mail-server

Hope that this helps!