Secondary MX records

Posted on 2009-02-20
Last Modified: 2012-05-06

I am trying to get a better understanding of how MX records work. I have only ever setup exchange servers with one MX record. If I added a secondary MX record will mail get sent to that additional server too? What I am trying to get is something that will still recieve mail if the primary MX is not reachable....and once it comes back up again I need something where secondary MX will then re-send all the mail the primary server missed. Is this possible?
Question by:Dan560
    LVL 18

    Assisted Solution

    You can set up a secondary MX record, just give it a higher reference number than your primary one. But I don't believe you can setup it to automatic re-send emails once the primary one is up.
    have a look at here, especially the "Multiple Mail server" part
    LVL 6

    Assisted Solution

    Normally, a secondary MX record is configured and pointed to the ISP.
    So,if the primary MX pointing to ur mail server is down,it would failover to the secondary MX record and ur isp will keep ur mails till ur server is up.
    then,once it is up they will send all emails to u.
    So,it works as fault tolerance so u dont loose any emails.
    MX priority is what determines the primary and secondary MX.
    Have a look at this:
    LVL 65

    Accepted Solution

    I have to disagree with the above post about "normally" MX records being pointing to an ISP. I wouldn't say that was normal at all.

    In theory, MX records should work where all email is delivered to the address with the lowest cost. The server with the highest cost only gets email when the lowest cost is not available.

    In practise, that doesn't happen. I find that email will go to all servers in the MX records. I am running a long term test involving my own MX records and that of one of my clients. We both have multiple Internet connections and multiple SMTP gateways. I am finding that the split is roughly 60/40 in favour of the lower cost MX record. IE, 40% of email comes in via the higher cost server.
    I am also finding that about 80% of spam traffic is coming in via the higher cost record because spammers specifically target them. The theory with that idea is that the higher cost has a lower level of spam protection because the email administrator doesn't think it will get the same traffic.

    I am not a fan of backup MX services because of the limitations in their service.
    The DNS Made easy service above gives a classic reason why - they cannot defend against a directory harvest attack.

    What I prefer to do is use a dynamic DNS account to give me control over where the email goes constantly.

    LVL 6

    Expert Comment

    I disagree to ur post as well
    LVL 2

    Author Comment

    Thanks, so there is no way the secondary MX server can resend the mail to primary MX when it comes backup?
    LVL 65

    Expert Comment

    You have to look at how the email gets passed from one host to the next.
    Where I have put in place relay servers they have been exactly that - relay servers. All they do is queue the email and wait for the original server to come online. You cannot get access to the messages.
    To get access to the messages you either need a queue viewer (which will only show you the raw messages) or you have to deliver the messages to a mailbox. Once the messages are in the mailbox it isn't possible to forward them on to the Exchange server without doing each one individually.

    Most backup MX type systems are simply queueing servers, with a queue viewer functionality bolted on top. Most ISPs will not give you the viewing option, so you would have to wait for the email to come down.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    PRTG Network Monitor: Intuitive Network Monitoring

    Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

    Find out how to use dynamic social media in email signatures with this top 10 DOs & DON’Ts.
    Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
    In this video we show how to create a User Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Mailb…
    The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now