in-v3.mailjet.com 587
Trying 104.199.96.85...
Please unban
sudo ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip
To Action From
-- ------ ----
80,443/tcp (Apache Full) ALLOW IN Anywhere
22/tcp (OpenSSH) ALLOW IN Anywhere
22/tcp ALLOW IN Anywhere
587/tcp ALLOW IN Anywhere
465/tcp ALLOW IN Anywhere
80,443/tcp (Apache Full (v6)) ALLOW IN Anywhere (v6)
22/tcp (OpenSSH (v6)) ALLOW IN Anywhere (v6)
22/tcp (v6) ALLOW IN Anywhere (v6)
587/tcp (v6) ALLOW IN Anywhere (v6)
465/tcp (v6) ALLOW IN Anywhere (v6)
587/tcp ALLOW OUT Anywhere
465/tcp ALLOW OUT Anywhere
587/tcp (v6) ALLOW OUT Anywhere (v6)
465/tcp (v6) ALLOW OUT Anywhere (v6)
And yes I have them on digitalocean firewall:

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!
Hey @ahmednaeem,
The SMTP ports (25, 465, and 587) are blocked on all Droplets for new accounts to prevent spam and other abuses.
Even if SMTP were available, DigitalOcean strongly recommends against running your own mail server in favor of using a dedicated email deliverability platform. Dedicated email deliverability platforms are better at handling deliverability factors like IP reputation.
To send mail from DigitalOcean, you can use https://smtpfa.st/ or SendGrid for example.
Alternatively, you could reach out to the DigitalOcean support team and check if they could lift the block for you but in many cases this is not possible:
Another option is to use a non-standard SMTP port like 2525 for example if your SMTP provider allows it. I know that https://smtpfa.st/ offers that.
- Bobby.
Hello, @friendlyelectricbluedolphin
You have a couple of options: you can open a support ticket and request the SMTP restriction to be lifted on your Droplet and they’ll usually do it if your account has some history and you explain the use case.
Honestly the API route is usually the better option anyway, it is more reliable deliverability and you don’t have to worry about your IP getting blacklisted.
Regards
The biggest retarded solution anyone could think off is to block SMTP ports, whole app is unusable with official MS SMTP. Who the hell thought this was a good solution?
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.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.