By pricekr1221
I am working on several projects, one of which is automating the setup of an email server. Testing this script out on Amazon Web Services is difficult since port 25 is blocked by default - the only workaround is using a 3rd party such as Google or Mailgun to send the emails on my behalf. I am wondering if there is a way to do this on Digital Ocean or if port 25 is also blocked by default?
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!
Hello all,
It is possible that port 25 is closed for new accounts. This is something DigitalOcean has been doing to reduce spam on the network.
To qualify for the ability to send out emails, new accounts are required to wait 60 days before a request for removing the restriction could be raised. Once your account has reached 60 days of stable use, you could reach out to the DigitalOcean support team so they could look into this for you:
In the meantime, you could instead use ports 465 or 587.
Hope that helps! Regards, Bobby
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.