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

Posted November 7, 2014 6.2k 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.

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
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.