How to install a secure webmail service with nginx for multiple domains on my ubuntu server?

I am new to VPS, previously I have been using hosting reseller with cPanel and WHM since it is very easy to create and manage emails for various domains, I am now entering the world of VPS, and I have started to configure my VPS with nginx and mysql , I would like to help me how to configure a good email service for various domains step by step, the step by step is because I am very new to the configuration of a VPS, my VPS is running on Ubuntu 16. Thank you For your support.

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 use rackspace email service. Its pretty good.

The easiest method would be to use a panel like cPanel though that does have it’s own cost. This guide will walk you through a mailserver configuration. Before getting started I would also recommend reviewing this guide as well as there are a lot of things to think about when running your own mail services.