How to setup an email server to send and recieve emails to my domain?

November 7, 2014 5.6k views

I have one domain configured on a droplet and I want to setup an independent mail server on other droplet with I have installed the setup as per
but I can send the emails only, I am not able to setup roundcube on my server and neither able to connect to my mail server from any mail client.

Please help me anybody.

1 Answer

Our tutorial on How To Install and Setup Postfix on Ubuntu 14.04 should do the job for you. You will need to make sure the mail CNAME in your domain ZONE configuration is pointed to the A HOST of your DigitalOcean Droplet. If you are using DigitalOcean’s nameservers, you can follow this tutorial to accomplish that.

by Assaf Gordon
Here's some documentation on how to set up and test DNS subdomains with DigitalOcean's DNS panel.
Have another answer? Share your knowledge.