Hi. I setup postfix on my Ubuntu 18.0.4 by some tutorials. It sends mails to other boxes(like my email on gmail). I already get certificate and configurate tls. But I can not receive any email. Postfix is listening 25 port.
master 9680 root 13u IPv4 250327773 0t0 TCP localhost:25 (LISTEN)
master 9680 root 14u IPv6 250327774 0t0 TCP ip6-localhost:25 (LISTEN)
master 9680 root 18u IPv4 250327779 0t0 TCP localhost:587 (LISTEN)
master 9680 root 19u IPv6 250327780 0t0 TCP ip6-localhost:587 (LISTEN)
also my ufw status :
ufw status
Status: inactive
But when I scan my 25 port by scan service like this https://www.ipvoid.com/port-scan/ or from my home PC - it teels :
WARNING: TCP connect to (myipaddress : 25) failed
Can anybody help me with my problem? /var/log/mail.log tells nothing about incoming messages. Thanks!
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!
Hi there,
By default SMTP port 25 is blocked on all Droplets for some new accounts to prevent spam and other abuses of our platform.
To send mail on these accounts, use a dedicated email deliverability platform (such as Sendgrid and Mailgun), which are better at handling deliverability factors like IP reputation.
For more information you could check the official documentation here:
https://docs.digitalocean.com/support/why-is-smtp-blocked/
Alternatively, you could use port 465 or 587 rather than 25.
Best, Bobby
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.