Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14611 reviews 1734 hosting providers

Questions & Answers

How to backup MX server

Mar 6, 2012 by covalski
Hello All,

Does anyone know the best solution to setup a secondary/backup MX server. We have space in a DC offsite, and want to setup a server that will queue messages in case our primary site is down.

Any suggestions?

2 Answers

0 votes
Mar 6, 2012 by ivan
Why do you want a backup MX server? It doesn't make mail delivery more reliable.

Internet standards specify that mail senders (ie sendmail, exim, postfix, qmail etc) ALWAYS queue & retry. So if your server is down, the email will be queued at the sending MTA and retried later.

Having a backup MX can actually expose you to more Spam. Spammers usually send to the backup first, relying on it not having as good spam checking - so it can actually increase your spam load a LOT.

In fact, backup MXes make you more likely to lose email as you may get an event over time which causes email sent to the backup to get lost. This is actually more likely than you'd think over a few years as backup MXes tend not to get checked regularly.

So, in summary, don't go there - it won't add reliability, and it will add admin complexity. Perhaps if you're running a server farm, and you know what you're doing, it may help; but for the average cpanel hoster it's a waste of your time.
0 votes
Mar 9, 2012 by Yuriy
In the case when your backup server "ready to go", then simply add 1 additional MX record in the zone file for your domain with lower priority than the primary one. e.g. if the main one has priority 10, then:

mail IN MX 110 secondary.MX.server.com