By admin
My application running on Digital Ocean Droplet needs to send emails to customers when certain events take place. I am trying to use Postfix to do that. Somehow, it is not working. Is Digital Ocean blocking port 25 ? If yes, can Digital Ocean unblock it on my droplet ?
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!
Heya, @adminf6603553e7b64f25ba9bb652d
SMTP ports 25, 465, and 587 are blocked on Droplets to prevent spam and other abuses on our platform. This block applies to all Droplets by default and includes traffic passing through a Reserved IP address.
Even if SMTP were available, we strongly recommend against running your own mail server, as self-hosted mail servers are difficult to secure and maintain, frequently get flagged as spam, and require constant monitoring to protect your IP address. Dedicated email platforms manage these challenges for you.
To send mail from services hosted on DigitalOcean, we recommend using a third-party email as a service provider.
https://docs.digitalocean.com/support/why-is-smtp-blocked/
Regards
Hi,
DigitalOcean blocks SMTP ports 25, 465, and 587 on all Droplets to prevent spam abuse, so Postfix won’t be able to send mail directly. This restriction can’t be removed.
Even aside from the block, running your own mail server is a constant battle with deliverability and security, so the recommended approach is to use a third party email provider instead.
More details here: https://docs.digitalocean.com/support/why-is-smtp-blocked/
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.