even configuring postfix for smtps postfix tries to connect on port 25 of the recipient
I didn’t find a way around it by sending it to another port. MTA always delivers on port 25.
Is there any way to send an email to outlook on another port?
For example mail -s “test” to : xxxx@outlook.com:587 or 645
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 there,
It’s possible that port 25 is closed for external uses for new accounts. There are a few ways to go about the problem
To expand more on blocking port 25 for new accounts, this is something DigitalOcean has been doing to reduce spam on its 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:
https://www.digitalocean.com/support/
More information here:
https://docs.digitalocean.com/support/why-is-smtp-blocked/
That said, running your own mail server on a Droplet is generally more trouble than it is worth. Deliverability is hard to maintain, IP reputation takes time to build, and you are one spam complaint away from being blacklisted. Most people are better off using a dedicated SMTP service like https://smtpfa.st/, SendGrid, Mailgun, or Postmark and skipping the port unblock request entirely.
Hope that helps!
Our new disabled-by-default SMTP policy goes into effect today, June 22, 2022, for all new accounts.
Dedicated email deliverability platforms are better at handling deliverability factors like IP reputation. To send mail from DigitalOcean, we recommend using SendGrid:
https://marketplace.digitalocean.com/apps/sendgrid
Regards
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.