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
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!
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!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.