Question

I can't connect to any port 25 (I've tried yahoo mail server), so I can't send mail from the vps :(

I have installed sendmail, and while I can receive mails, I’m unable to send. I tried to telnet to port 25 of the destination server, and it fails.

I’m able to do it on other vps I have on another company, so I know the destination server is fine.

this command fails here: $ telnet mta7.am0.yahoodns.net 25 (it never connects…)

In the other vps, it works correctly: $ telnet mta7.am0.yahoodns.net 25 Trying 66.94.238.147… Connected to mta7.am0.yahoodns.net. Escape character is ‘^]’. 220 mta1411.mail.mud.yahoo.com ESMTP YSmtp service ready

Is blocked? Can I ask to unblock it? is necessary that to have a mail server on the vps.


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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

I’ve checked firewall table in my VPS, and doesn’t see if port 25 is blocked. But, when i tried :

telnet smtp.gmail.com 25

Trying 74.125.28.109…

Unable to connect from port 25. I can receive email, but because of unable to connect from port 25, i can’t send email.

Port 25 is blocked by DigitalOcean ? If yes, can i suggest to open/allow port 25 in my VPS ?

https://www.digitalocean.com/community/tutorials/how-to-configure-a-mail-server-using-postfix-dovecot-mysql-and-spamassasin#step-3-configure-postfix

I have just followed the above post to set up the postfix service. Do I need to request to unblock port 25 and 587?

Blocking port 25 is pretty lame. It means that I can’t put down a contact email address on my sales web page. Or else it means I have to waste time setting up an email server somewhere else, just to do it again here. I thought DO was for small businesses? Isn’t that the whole point of the service?