Question

Setting up Email server to my domain

Posted August 3, 2021 119 views
Ubuntu 20.04

**Hello,
My web developer trying to setup an email server to create email accounts from the domain associated with my droplet account.
He is using the command:
curl -s https://mailinabox.email/bootstrap.sh | sudo bash
This script must be run on a system running Ubuntu 18.04 or Ubuntu 14.04 but we need something that runs on 20.

Please guide us with this query.
Thank you.

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
2 answers

Hello,

As far as I can see script does not support Ubuntu 20.04 yet.

As this is an open-source project, you could submit a feature request via the official GitHub repository and ask for Ubuntu 20.04 support:

https://github.com/mail-in-a-box/mailinabox

Alternatively, you could submit a pull request introducing the change.

Another option is to use a control panel like VestaCP which comes with a mail server pre-configured:

https://www.digitalocean.com/community/tutorials/how-to-install-vestacp-and-migrate-user-data

Also as a side note, I could suggest taking a look at this post here:

https://www.digitalocean.com/community/tutorials/why-you-may-not-want-to-run-your-own-mail-server

Regards,
Bobby

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.

Hello, @kalpeshcipatel

If you’re interested in using Postfix alongside Gmail to send emails from your droplet you can also check this mini tutorial:

https://www.digitalocean.com/community/questions/using-gmail-with-postfix-smtp-server?answer=60074

Hope that this helps!
Regards,
Alex