Question

SMTP Server not work

Hello everyone. SMTP is not running on my server, Digital Ocean already unlocked the SMTP and still nothing. Can anyone help me what to do? I have to set something else on the server?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

postfix has become a nightmare…tons of spam being sent out…so would be really great instead of managing postfix to be able to offload that work to an smtp service easier. Read both articles and neither make it very clear how to open up the ports necessary to connect to an outside smtp service for sending mail.

We do not provide an SMTP service by default on our OS images so you’ll need to set up an MTA. If you just need to send emails from a web app or form simply installing postfix to provide a local MTA should do the trick. This can be done from your droplet’s command line with:

sudo apt-get update;
sudo apt-get install postfix;

If you require a more complete mail solution this tutorial will guide you but I recommend reviewing this article first.