Question

how to set up a mail server on my ubuntu droplet

hello support: I am in a transition of moving my web applications from another web hosting service to digital ocean. They updated my DNS to map my site to the new ip address. But it seems that I need to set up a mail server before they can route it too, as quoted

A record changes will affected the MX record as it is the CNAME of xyz.com which is pointed to server’s IP address. If A record is changed to another IP address, mail server will be changed to the same IP address too. … Please let us know if you also want to routed an email service to another provider.

so my understanding is that I need to install mail server on my ubuntu droplet before I give them a go-ahead, is it correct? Then is there a tutorial about how to set up a mail server?

thanks a lot, jon

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.

I recommend qmail for a basic mail server: It includes delivery to a file, forwards and an SMTP server with access control. It should take one about an hour to install via Life With Qmail. Although I have heard great things about Postfix, I have not used it extensively. You should probably avoid using sendmail. Qmail does have a sendmail workalike.