Setting up a hostname for mx record

Posted February 16, 2015 6.3k 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.


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
3 answers

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

DNS record: 14400 IN MX 0

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