DNS settings to get email working

  • Posted August 14, 2013

Hi everybody, I’m testing DigitalOcean, pretty satisfied with performance. I’ve been able to install ISP Config to handle my 10 websites if finally migrate all my sites to Digital Ocean from 1and1 but …

Which is the right configuration for MX records. I’ve tried with a previous domain but I’m not able to send neither receiving emails.

I configure MX record for but nslookup is telling me the following and it does not work. mail exchanger = 0

Anybody could help me?

Best regards and thank you in advance.


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

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.

I’ ve solved it. <br>I tried on one site to change the mx record to: <br> MX 10 <br>and it worked, <br>on my other site I changed it to: <br> MX 1 <br> MX 5 <br> MX 10 <br> MX 1 <br> MX 5 <br> MX 10 <br>and it also worked! <br> <br>I don’t know which one is proper to use but both worked for me.

When I’m trying to sent an email from my gmail account to my email I got a failure response with this message: <br> <br>Technical details of temporary failure: <br>DNS Error: Domain name not found <br> <br>That is why I thought it is a problem with MX record.

Hi, thank you for your response. <br>The problem I’m facing is such: I have few websites on 3 different droplets on my account on digital ocean, most of them are Wordpress sites, one is a Joomla! site and one is just an html single test page site. All my email accounts can sent emails but none of them can receive an email. I thought changing MX records will solve the problem but nothing really happened, I still can sent but not receive emails. <br> <br>I created my emails through my Vesta Control Panel ( which I have installed on all of my droplets. <br> <br>Thank you for your willingness to help. <br> <br>PS It’s very critical for me to make my email working because it is actually my business email and I cannot receive emails for three days now… <br> <br>

@viktor.niniadis: DNS records are not related to your droplet itself. It usually takes a couple of hours until DNS propagates. <br> <br>Is it working now?

Hi, I am facing the same problem,I have changed the MX record as Kamal Nasser suggested and I would like to know, does it take time to start working or do I have to reboot my droplet? <br>Thank you in advance. <br> <br>

Sweet! :]

Thank you guys. I’ve checked it and it works perfect.

Thank you for your quick help guys. I’ve changed it and waiting for results. Keep you posted.

Check out the MX Records section of this article: <a href=“”>How to Set Up a Host Name with DigitalOcean</a>

Edit your MX record and add a dot at the end of the value: <br> <br>Priority: 5 <br>Value/Hostname: