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
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.
Click below to sign up and get $100 of credit to try our products over 60 days!
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!