How to manage multiple email domains on a droplet

  • Posted on September 21, 2014
  • romeldrisAsked by romeldris

Hey guys,

I’m in the process of migrating my websites to DigitalOcean and I am kind of confused as to how I would set up multiple emails and forward them to different accounts.

I’m going to have about 3 very low traffic websites on my droplet and they all have different domain names. What exactly would I need to do in order to have,, and to forward to 3 different emails?


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.

You can either learn the ins and outs of postfix, dovecot, etc., or set up something like iRedMail, ISPConfig 3, etc. that will install and manage those things for you with a nice web interface. I’m currently using Virtualmin to manage the domains on my mail server. It is overkill for that job for sure, but that server originally started out as more than just a mail server. If I were to do it again (which is not likely), I would probably go the barebones route and manage all of the components manually.

I am currently in the process of evaluating a couple of third party options for hosting e-mail. They probably have better spam filtering and somebody else can deal with the headaches and ensuring the uptime.

Today I use an email server in a separate droplet in digitalocean. Use this tutorial to create the server: After his execution, create an alias (A) in the DNS configuration of that server pointing to the same IP, for example: (mx IN A that will:, - (this alias will be used in the fields that will need to email) - and the other fields you want to create e-mails put this address as MX and priority of your choice, in my case use 10. Example: Within the domain place the (type) MX (priority) 10 (domain) in place the domain (type) MX (priority) 10 (domain) mx… too. After that, wait propagate these settings and access the admin iredmail, the possible address: Register your domain accounts and e-mail the same. Then just test. Hugs.