Setup Roundcube ubuntu 20.04


I’m on ubuntu 20.04 with LAMP server running.

I’m actually trying to setup my own mail server on my vps, on the same droplet as my website.

I’ve been trying to follow the tutorial :

So as I understood, I need to setup Postfix for SMTP and Dovecot for IMAP but at the beginning of this tutorial

It’s asked to modified the FQDN, that’s where I’m facing an issue.

I don’t really understand the impact of FQDN and my website is in production, I don’t want to got it down again (I had a big issue after installing iRedMail)

So does somebody faced the same problem, like hosting your mail server on the same droplet that is hosting your website ?

I’m sorry if it’s a bit messy, feel free to ask me anything, I’m completely lost.

By the way, if you have a better way to have multiple email adresses on a custom domain, all hosted on my vps and free, I take it, I just don’t want to use external hosting.

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.

Hi @julienmauclair1, how did you bypass the port 25 block?

Everything is solved !

I’ve setup my droplet to have my PTR record as :

I’ve set my FQDN as :

And everything is working with roundcube.

Just need to setup my DMARC.

Just need to know, does it affect SEO ?

Hi @julienmauclair1,

So, the FQDN in the article you’ve posted is so that you can create an MX record afterwards. The FQDN will help with your SPF and DKIM record as well. Some providers do require FQDN in the SPF record and from the server that’s sending the mail.

Having said that, setting a new FQDN shouldn’t cause any issues with your website/application UNLESS you have some hardcoded stuff in your code with your current FQDN which is highly unlikely. With that being said, what you can just do is create a snapshot of your Droplet and if you break something on it just restore from the created snapshot.

If you are uncertain you can check the following article on how to use the snapshot feature: