Currently I am running webserver with NGINX, MYSQL, PHP (Current version) on Ubuntu 20.04. I am trying to setup email server as well on the same Ubuntu server. Can someone help me with the HOW to and where I can find a documents for this and also which email server is best. For ssl I am using certbot with let’s encrypt. I am very new to ubuntu OS. Thanks in Advance.
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,
You could use Postfix as your SMTP server. Here is a step by step tutorial on how to set it up on Ubuntu 20.04:
However, I would personally use an SMTP service like SendGrid rather than running my own email server on the same server where I run my web application. Running your own email server could be quite challenging and if you only need it to send a few emails per day, it would be more convenient to use an SMTP service like SendGrid.
Hope that this helps. Regards, 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.