Protect new mailboxesFresh mailboxes burn fast on a dirty list

Verify every lead before the first send and keep bounces low from day one.

Verify 25 emails free →
Product Bulk verificationReal-time APISignup form widget Catch-all detectionRole and disposable flagsFree email checker
Solutions Cold email agenciesSales teams and SDRsDevelopers and SaaS InstantlySmartleadApollolemlistClayHubSpotMailchimpWoodpeckerReply.ioSaleshandyZapierMaken8n All integrations
Mailboxes Google Workspace mailboxesOutlook mailboxesNew cold domain checklist
Compare vs ZeroBouncevs NeverBouncevs Emailable Pricing comparedCredit expiry comparedAll comparisons
Resources GuidesBounce rate benchmarksHow many bounces burn a domain?MX records MX lookupDomain health reportEmail list cleanerAll MX Tools
Pricing
Home / MX records / Backup MX

Backup (secondary) MX: when it helps and when it hurts

A backup MX is a lower-priority mail server that takes mail when the primary is down. It used to be standard advice. Today it often adds spam and breaks filtering without making delivery more reliable.

Updated 2026-11-24

Your primary mail server goes down for an afternoon. Do you lose the mail sent in those hours? No, and that surprises people. Sending servers hold mail and retry for days. A backup MX is useful in a narrow set of cases. In the rest, especially on Google Workspace or Microsoft 365, it becomes a side door for spam.

TL;DR

  • Mail isn't lost when your MX is down. RFC 5321 says senders retry at least 30 minutes apart for "at least 4-5 days" before giving up (RFC 5321, section 4.5.4.1).
  • A backup MX must filter like the primary. Otherwise a spam sender "would simply sidestep filtering by retrying the mail delivery through your backup server(s)" (Spam Filtering for Mail Exchangers HOWTO).
  • It must know your valid addresses, or it accepts mail for anyone and later bounces it to forged senders: backscatter.
  • Hosted mail: don't. Microsoft: "We recommend that you have only one MX record for each Microsoft 365 domain." Google: "Remove any other MX records."

What a backup MX is

A backup, or secondary, MX is an MX record with a higher number (lower priority) than your main server. Senders try the primary first and use the backup only when they can't deliver to it (MX priority explained). The backup accepts the message, queues it and forwards it to the primary when the primary is reachable again.

example.org.   IN  MX  10  mail.example.org.      ; primary, delivers to mailboxes
example.org.   IN  MX  100 backup.provider.net.   ; secondary, queues and relays

The Postfix documentation uses this same pattern, with the secondary at priority 100, in its section on configuring a server as "primary or backup MX host for a remote site" (Postfix Standard Configuration, checked 2026-11-24).

A backup is different from equal-priority servers. Two MX records at the same number share the load at random; neither is a backup. Large providers get their redundancy that way, or behind a single host name: on 24 November 2026, smtp.google.com resolved to five IPv4 and four IPv6 addresses, and microsoft.com published a single MX record.

The backup must also follow the relay rule in RFC 5321 section 5.1: a server that finds itself in the MX list must discard its own entry and everything at the same or higher number, then deliver only to more-preferred hosts. That stops mail looping between primary and backup, a rule that goes back to RFC 974 in 1986.

Why you often don't need one

The original case for a backup MX was "don't lose mail while the server is down." SMTP already covers that. When a sender can't connect, it "MUST" queue the message and retry: RFC 5321 says the retry interval "SHOULD be at least 30 minutes" and the give-up time "generally needs to be at least 4-5 days". Postfix, for example, keeps undelivered mail for 5 days by default (Postfix configuration reference, checked 2026-11-24).

The author of the Spam Filtering for Mail Exchangers HOWTO (Tor Slettnes, The Linux Documentation Project, checked 2026-11-24) puts it bluntly: if the backup servers aren't under your control and only forward to your primary, "you probably don't need them. If your host happens to be down for a little while, that's OK -- well-behaved sender hosts will retry deliveries for several days before giving up."

So for an outage of hours or a day or two, mail waits in senders' queues and arrives when you're back. A backup MX moves that queue from their servers to one you rent. It doesn't make mail arrive in mailboxes any sooner, because the backup can't deliver to the primary either until the primary is up.

Senders hold mail and retry, at least 30 minutes apart, for at least 4-5 days (RFC 5321). An outage shorter than that loses nothing; a backup MX only matters for longer ones.

Why backup MX servers attract spam

MX priorities are a request, not an access control. Any client can connect to any listed host, in any order. A sender the primary turned away can simply try the backup, and if the backup is the least filtered server the domain runs, that's where the spam lands. Three problems follow.

1. Filtering is bypassed

If the primary rejects spam at connection time (blocklists, greylisting, recipient checks) and the backup doesn't, those checks are worthless. The HOWTO's rule: "any SMTP time filtering you incorporate on the primary MX has to be incorporated on all the others as well," and "your backup servers need to be (at least) as restrictive as the primary server" (what is greylisting?, what is a DNSBL?).

2. Backscatter

A backup that doesn't know which mailboxes exist accepts mail for every address. When it later forwards to the primary and the primary rejects an unknown recipient, the backup has to send a bounce, to the envelope sender, which in spam is forged. Postfix calls the result backscatter: "When a spammer or worm sends mail with forged sender addresses, innocent sites are flooded with undeliverable mail notifications" (Postfix Backscatter Howto, checked 2026-11-24). Postfix's fix for backup MX hosts is a list of valid recipients (relay_recipient_maps), which "prevents your mail queue from filling up with undeliverable MAILER-DAEMON messages."

3. The primary loses the real sender

Mail relayed by a backup reaches the primary from the backup's IP address. Microsoft explains the effect for any server that sits in front of Microsoft 365: "the message adopts the source IP of the last hop ... This behavior isn't a limitation of Microsoft 365; it's simply how SMTP works" (Microsoft Learn, Enhanced Filtering for Connectors, checked 2026-11-24). SPF and IP-reputation checks then judge your backup instead of the original sender. Google says something similar for inbound gateways: Gmail has to be told which IPs are gateways so it can find the real source, and it "does not enforce the sender's DMARC policy for messages that arrive from the inbound gateway" (Google Workspace admin help, checked 2026-11-24). A backup MX nobody registered as a gateway gets none of that handling.

If the backup lacks the primary’s filters and recipient list, the primary’s checks are bypassed: spam arrives relayed from the backup’s IP, and mail for unknown users becomes backscatter.

What Google and Microsoft recommend

Microsoft 365: one MX record. Microsoft's Exchange troubleshooting guide says: "We recommend that you have only one MX record for each Microsoft 365 domain. Multiple MX records for a domain can help in some delivery scenarios. However, Microsoft 365 already has extreme redundancy at every level. Therefore, multiple MX records can actually make mail delivery less reliable" (Microsoft Learn, checked 2026-11-24). Its domain setup guide tells admins to remove MX records for a previous provider or give them a lower priority than Microsoft 365's.

Google Workspace: one MX record, smtp.google.com at priority 1, and "Remove any other MX records. Your email might not work correctly if you keep old or incorrect MX records" (Google Workspace admin help, checked 2026-11-24). Older domains may still publish Google's legacy five-record set, all Google hosts; that's Google's own redundancy, not a third-party backup.

Neither provider's setup guide mentions adding a backup MX from another company. If you want filtering or continuity in front of them, the supported pattern is a gateway that receives all mail as the only MX and is registered with the provider, not a low-priority side door. Details in Microsoft 365 MX records and Google Workspace MX records.

When a backup MX still makes sense

  • You run your own single mail server and outages could last longer than senders' 4 to 5 day retry window, for example a server in an office that can lose power or connectivity for days.
  • You want the queue under your control, so you can see what arrived during an outage and flush it the moment the primary is back, instead of waiting for each sender's next retry.
  • The backup is a real, equal peer: same filtering, same recipient list, same TLS setup, and reachable from the primary over the same protocols. RFC 3974 warns that in dual-stack setups the primary and secondary must be able to reach each other, for example not an IPv6-only primary with an IPv4-only backup.

If you can't make the backup filter and validate recipients like the primary, the HOWTO's advice applies: you're better off without it.

Setting one up properly

  1. Give it a clearly higher number than the primary (for example 10 and 100), so normal mail never goes to it.
  2. Load the list of valid recipients and reject unknown addresses during the SMTP conversation, never accept-then-bounce. In Postfix that is relay_recipient_maps.
  3. Copy the primary's connection-time filtering: the same blocklists, greylisting and rate limits.
  4. Tell the primary to trust it as a relay and to look past its IP for the real sender (Microsoft: Enhanced Filtering for Connectors; Gmail: inbound gateway settings; self-hosted: your filter's trusted-relay settings).
  5. Test failover: block the primary, send from an outside account, confirm the backup queues and later delivers, and that an unknown recipient is rejected at the backup, not bounced.
  6. Check the published records with our MX lookup, and the message path with the email header analyzer (the backup should appear in the Received headers only during the test).

Backup MX and email verification

Verifiers follow the same MX order as senders. Mail Exchange runs its mailbox check against the most-preferred host and tries the next host only if that connection fails. So a backup MX normally plays no part in a result. If a check ever does reach a backup that accepts every recipient, the domain looks as if it accepts everything, which is exactly the pattern a catch-all test exists to flag (what is a catch-all?).

If you send to contact lists, that's the kind of detail a check catches before your campaign does. Mail Exchange tests syntax, MX, the mailbox and catch-all status without sending an email: 25 checks free on the trial, plans from $49 a month for 10,000 verifications and daily checks on 10 sending domains, with unknowns refunded (pricing).

Common questions

Do I need a backup MX record?

Usually not. Sending servers queue mail and retry for at least 4 to 5 days when your server is unreachable, so short outages don't lose mail. A backup MX helps mainly when you run your own server and outages could last longer, and only if it filters like the primary.

Why do spammers target backup MX servers?

Because backup servers are often less protected than the primary. If the backup lacks the primary's spam checks or its list of valid recipients, mail sent straight to it skips filtering, and accepted mail for unknown users turns into bounces to forged senders, known as backscatter.

Should I add a backup MX to Google Workspace or Microsoft 365?

No. Microsoft recommends only one MX record for each Microsoft 365 domain and says multiple MX records can make delivery less reliable. Google tells admins to remove any other MX records. Both run redundant infrastructure behind their single MX value.

What priority should a backup MX have?

A higher number than the primary, so it is used only when the primary can't be reached; for example 10 for the primary and 100 for the backup. Lower numbers are tried first, and two records with the same number share mail at random, so equal values don't make a backup.

Start your free trial →