Opening SMTP port 25

I am folowing a tutorial on how to test Gophish on my own email ids folowing this tutorial which mentions writing a ticket to you asking to open port 25

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.

This is super annoying, I used Cloudron to easily setup things and it was fine, until I noticed emails weren’t working.

Alternatives are complicated and time-consuming.

Site Moderator
Site Moderator badge
August 31, 2023

Our new disabled-by-default SMTP policy went into effect June 22, 2022, for all new accounts. While our Security team will still be monitoring spam activity, we believe this decision will benefit our customers and the broader internet community in our shared quest to minimize spam

Dedicated email deliverability platforms are better at handling deliverability factors like IP reputation. To send mail from DigitalOcean, we recommend using SendGrid:

Hope that this helps!

Site Moderator
Site Moderator badge
August 28, 2023


port 25 is closed for external use. There are a few ways to go about the problem

  • try using ports like 465 or 587 for SMTP
  • use a third party solution only for your E-mails. Good examples are sendgrid.

To expand more on blocking port 25 for new accounts, this is something DigitalOcean has been doing to reduce spam on it’s network. It is more that we simply cannot accurately determine who is going to send it.

Stopping spam is a constant fight, so DigitalOcean has implemented some restrictions on newer accounts. Having said that, you can always contact them and ask for the port block to be lifted on:

More information here:

Hope that helps!

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel