“All outbound connections to port 587 are now timing out from my droplets. Can you check whether there’s a port block or rate-limit at the network layer?”
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!
Hi there,
This is likely due to DigitalOcean blocking outbound traffic on default SMTP ports like 465 and 587 to prevent abuse.
If you’re trying to send mail, the best move is to use a trusted third-party SMTP provider like Mailgun, SendGrid, or Postmark, most of them support submission over port 2525
, which is open.
More details here: https://docs.digitalocean.com/support/why-is-smtp-blocked/
Also, you can reach out to DO support and ask if they can lift the SMTP block on your Droplet: https://do.co/support
Hope this helps!
\– Bobby
Heya, @triashanggodo
The SMTP ports were closed to prevent spam from being sent from DigitalOcean servers.
You can reach out to our support team and ask if the SMTP restrictions can be lifted from your droplet. Additionally, if your app can authenticate via API, you can use that to send out your emails
Regards
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.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.