I am just adding this here for my own knowledge and to help others.
1. Go to Email > Email Accounts and click "Add New Domain Email", select the domain and create your email address.
This will enable roundcube and you will be able to send emails but you won't be able to receive emails yet.
2. Go to Email > Mailserver Manager and check the top 3 boxes and then click "Rebuild Mail Server"
AntiSpam/AntiVirus (recommended):
rDNS Check (recommended):
Install DKIM & SPF (recommended):
3. Go to Email > DKIM Manager. Make sure your domain has 4 green ticks in TrustedHosts, KeyTable, v=DKIM1,v=spf1
If you don't then complete the form for "Add DKIM & SPF". Then go to Email > Mailserver Manager and repeat the "Rebuild Mail Server" and restart all mail services. Come back to this page and you should now see all 4 green ticks.
4. Now we have to create MX records on your external DNS. I use Godaddy. Edit your DNS.
5. Add MX records for your server. You have to use the server name. In my case i found it "Email > rDNS Checker" and you will see the server dns. Mine was ip-PPP-ZZZ-YYY-XXX.ip.secureserver.net. So I copy that to MX and set priority to 10 and repeat with priority 20
6. Add DKIM to DNS. Go to Email > DKIM Manager and click your domain "Edit File" and you will see the DKIM and SPF records to add to Godaddy.
7. Add TXT record host="_dmarc" and TXT="v=DMARC1; p=none"
8. Add TXT record host="yourdomain.com." and TXT="v=spf1 mx ~all" <- this will tell your DNS to use your MX records for spf
9. Create cnames to @ for SMTP, IMAP, WEBMAIL and MAIL.
10. Go to
https://www.mail-tester.com/ and follow directions. I ended up with a 9.8 out of 10 which is as good as it gets.
11. Send an email from any other account to your new email.
12. Now go to roundcube and login.
https://mail.yourdomain.com:2087/roundcube/?_task=mail&_mbox=INBOX (SSL isn't enabled but im working on that). You should see your email.