How to set up Email on DigitalOcean Droplet?

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

Show comments

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.

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.

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

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

hey i dont know how does it works