Question

Postfix can't send mails externally

Hi,

I installed with problems sending email externally already tried several posts related to this and I am not able to make it work… on my mail queue mails get pending and gets timout

D80E8C196E     5358 Fri Aug 11 09:59:24  sender
(connect to alt4.gmail-smtp-in.l.google.com[74.125.143.26]:25: Connection timed out)
                                         receiver

I had checked by changing the smtp port … But after changing there was no mail on the queue and no mail sended to the destination.

please help me

thanks


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.

Accepted Answer

Hey there,

Couple different issues could be occurring there. For one, the SMTP port might be blocked on our end. A quick ticket to our support team can confirm this for you and work with you if it is.

Another problem could be the droplet itself. To be sure, you’d want to ensure nothing in the firewall is blocking port 25 (or 26 or 587) outbound. You can usually do this using iptables -vnL

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.