Is port 25 blocked on VPS

Hey guys,

I’m trying to make a personal mail server and just wanted to check if port 25 was blocked as from past experiences from other providers was that I had to have it request to be unblocked.

Thank you for your time :)

Show comments

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.

Site Moderator
Site Moderator badge
February 8, 2023

Hello @4b96de78993641a7b1cf76b22f9ac2

As already mentioned the port may be closed for new accounts. This is something we have been doing to reduce spam on our network. Please do not think that we are accusing you of sending spam, it is more that we simply cannot accurately determine who will send it.

You can also use a third-party mail provider like SendGrid in order to avoid issues like this one. I’ll also recommend checking this article:

Hope that this helps!

Site Moderator
Site Moderator badge
February 7, 2023

Hi @4b96de78993641a7b1cf76b22f9ac2,

It’s possible port 25 is closed for external uses for new accounts. There are a few ways to go about the problem

  • Use ports like 465 or 587 for SMTP
  • Contact DigitalOcean’s support and ask for the block to be removed. You’ll need to provide a reason why it should be done.

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

card icon
Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Sign up
card icon
Hollie's Hub for Good

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

Learn more
card icon
Become a contributor

You get paid; we donate to tech nonprofits.

Learn more
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
Get started for free

Enter your email to get $200 in credit for your first 60 days with DigitalOcean.

New accounts only. By submitting your email you agree to our Privacy Policy.

© 2023 DigitalOcean, LLC.