Duplicate emails received

  • Posted September 10, 2014


We are new to DigitalOcean and this may have been asked and answered in the past. My search back through previous questions so far doesn’t show that though.

Some emails for one of our domains have been lost on a number of occasions in the past 12 months or so due to the intermittent poor reputation of the email server of our hosting provider. Therefore we have setup a droplet here on DO to use as our mail server to avoid this problem occurring again.

However, we are receiving two copies of all our emails for all email addresses on that domain. I have just had a look at the DNS entries for the domain in question and there are two A Records. One points to the new DO droplet and one is to our local ISP.

Will the existence of the two A Records likely to be causing the duplicated emails? Does this mean that our emails are being routed through both email servers? Can I simply delete the non-DigitalOcean one without causing any other email issues?

I am very new to all this, and was not involved in setting up our DO droplet so am wary of doing anything that could further disrupt our emails.

Thanks in advance for any enlightenment on this.


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.

dear sir,

i have mammon mail server and Godady work space from which mammon is getting email when email sent from internet to and cc to test1 is receiving duplicate email this is happen when email send in cc to diff domain pls help my email add


In your case, it looks like if you had configured round robin dns on the A records for your domain. A round robin will alternate queries coming to DNS, to respond with each IP available in your DNS zonefile configured that way.

So, this configuration should not perturbate the mail service, unless you had misconfigured your MX records. Here is a short DNS resume on how to set MX records for a domain.

First of all, in a DNS zone file, the ‘@’ symbol represents your domain, in its “” form. So, to point your webserver with domain and ‘www’ subdomain, you need records of that type :


Next, a MX record for mail exchange need to configure a FQDN hostname. So, to register your mx record, you need a record of that kind :

@ IN MX 10
@ IN MX 20

To be sure you don’t make any mistake configuring those mail servers, you need to add a required A record to point the ‘mail’ and ‘mail2’ subdomains in your DNS zone file :


If you have that kind of settings, you can be sure that your mail delivery will be done using first your primary MX, and then your secondary MX as a fallback when primary is not reachable. So, in your case, I would check that all MX records points well to your new mail service, and that you don’t have any duplicate record for ‘mail’ pointing to different IP addresses providing an unwanted DNS round robin for mail delivery.

Feel free to tell what is your domain so that I can provide you the proper answer.

Hope this could help. Have a good day !

– rustx