How to set up Email on DigitalOcean Droplet?

January 28, 2017 4.5k views
Email Ubuntu

I am using Namecheap domain, but my hosting is by Digital Ocean droplet
How do I set up an email of my domain? admin@domain.tld
Anyone can guide me on a step by step basis - that will be greatly appreciated! :D

3 Answers

If you're using Ubuntu then DO has a great guide that can be found here on how to setup and configure an SMTP server using Mail in a Box.

https://www.digitalocean.com/community/tutorials/how-to-run-your-own-mail-server-with-mail-in-a-box-on-ubuntu-14-04

When you get the server setup, you'll create an MX record at Namecheap that points to mail.domain.com and have mail.domain.com pointed to your Servers IP, and if you configured everything on the receiving server properly then you should be gucci.

Mail-in-a-Box is an open source software bundle that makes it easy to turn your Ubuntu server into a full-stack email solution for multiple domains.

i posted a guide on my blog a few days ago
Quick & Easy: Modoboa Self Hosted Email Server with Webmail

btw do check out defcore's answer

Thanks for both of your replies - will try both out

ANother question: When I try to log in my Console Access from DO dashboard, then the following error comes up and I can't log in

Server Disconnected (code 1006)

Have another answer? Share your knowledge.