Setting up a hostname for mx record

February 16, 2015 4.4k views

I am having problems with setting up a mail server on my droplet. here are my confusions

  1. When adding an mx record, I am asked to add something like, my question is how do I setup this sub-domain or is it set setup automatically?

  2. I have already installed postfix and dovecot but I cant receive any emails sent to the created address during configuration

  3. How do i install roundcube to my droplet, I have seen varying tutorials on this and its getting confusing

I am running Ubuntu 14.04 on my digitalocean.


3 Answers

To create a record your MX record can refer to, you must create a A record.

  • this does not solve the problems highlighted above, For (1.) how do I create the

  • You would go to the DNS panel, select the record type you want to add (A/AAAA/CNAME/etc.) and then add the correct IP/names.

DNS record: 14400 IN MX 0

(including dot at the end)
14400 - TTL
0 - priority of the record, one can create multiple records

Have another answer? Share your knowledge.