It seems that Digital Ocean is blocking port 25 on new accounts now … anyone else had this problem?
When a request was made to unblock the port it was denied.
Hello,Thank you for contacting DigitalOcean!Stopping spam is a constant fight and due to this, your account has restrictions specifically on port 25. However, you are be able to use mail services using ports 587, 993, 995 and 465. You will need to open these ports in your firewall.
Here is our guide to common iptables commands:
We realize this is inconvenient, but many customers in your position move their mailing activities to a third party service such as SendGrid or similar which processes such mail separately from their droplet. I’m sorry for the frustration but we’re not able to lift this port restriction at this time.In terms of a workaround, here are a few alternatives:1. Utilize port 587 for SMTP relay via another mail provider, for example G Suite/Gmail, Mailgun, etc. We have a guide on doing so using Postfix here:
Configure your app or service to send mail directly using either a SMTP client connection (typically using port 587), or API call via another mail provider such as Sendgrid, Mailgun, Mandrill, etc.Please note that with this restriction in place on port 25, mail servers hosted here will be unable to directly relay email to other mail servers, as communication between mail servers typically takes place on port 25.We think the API is the best solution, as it is honestly more scalable and what we would use if we wanted to “future proof” the project.Please let us know if you have any additional questions, and have a wonderful day!Best Regards,
Platform Support Specialist
Don’t forget to check out our new product documentation!
Iptables Essentials: Common Firewall Rules and Commands | DigitalOcean
Iptables is the software firewall that is included with most Linux distributions by default. This cheat sheet-style guide provides a quick reference to iptables commands that will create firewall rules are useful in common, everyday scenarios. This in
How to Set Up a Mail Relay with Postfix and Mailgun on Ubuntu 16.04 | DigitalOcean
Use Postfix and Mailgun to create a closed mail relay for bulk emails or your internal communications.
DigitalOcean Product Documentation
Information on DigitalOcean product features, availability, pricing, and limits. How to use products from the control panel. How to manage your account, teams, and billing. Release notes.