How do I set up a Digitalocean email server with NameCheap

Posted October 7, 2016 5.3k views

I have a droplet running 14.04 and my domain is registered through NameCheap. I’ve followed the tutorial for setting up Postfix but I cannot receive emails sent to my domain. I have no idea how to set up email records or which email records to use on NameCheap and I need help.

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.

Submit an Answer
1 answer

Postfix is generally used as an MTA allowing the sending of emails over SMTP but in most cases other pieces are used with it to provide a complete email system with user and box management, etc.

Running a mail server can be a time consuming and complicated undertaking which is why we often recommend against doing this if you are not an experienced sysadmin. There are alternatives like zoho which I use personally for my small projects that provides free mail hosting for your domain and up to (i think) 10 users.

If you do want to configure and run a mail server for your own use I would recommend starting with this tutorial which sets up mail-in-a-box, a complete mail server solution built from open source components.

by Mitchell Anicas
When setting up a web site or application under your own domain, it is likely that you will also want a mail server to handle the domain's incoming and outgoing email. While it is possible to run your own mail server, it is often not the best option for a variety of reasons. This guide will cover many of the reasons that you may not want to run your own mail server, and offer a few alternatives.