Setting up a hostname for mx record

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

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.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!