Mail not flowing (Exchange Online)
Mail is not arriving, not sending, or mailboxes will not open. Find which one, usually wait out a provider incident, and only reroute mail as a business decision.
What you are probably seeing
- “I am not getting any email.” Outlook shows Disconnected or keeps trying to connect.
- An outside sender forwards a delay warning, later perhaps a bounce.
- Someone is waiting for a contract or an invoice “sent an hour ago”.
- If the sign-in page itself fails, this is a sign-in problem, not mail: go to R2 Locked out of Microsoft 365.
First 15 minutes
Usually do nothing to mail settings. If the public status page shows an Exchange Online incident, inbound mail is usually delayed. Most sending servers queue and retry for a while, but how long depends on the sender. RFC 5321 recommends at least 4 to 5 days (RFC 5321, 4.5.4.1). Senders that are themselves on Exchange Online give up after 24 hours, and the sender gets a bounce with NDR 550 4.4.7 (Microsoft Learn: NDR 550 4.4.7). So some mail may bounce, and the longer the outage, the more of it.
- Write the time and the first symptom in the log.
- Check the public status page from your phone: Is it us or them?
- Check what the world sees as your MX and whether it answers on port 25 (checks below). That tells you inbound.
- Ask one user to send one mail to an outside address. That tells you outbound.
- Decide which is broken: inbound, outbound, or mailbox access. They have different fixes.
Do not touch yet
- Do not edit MX, SPF, connectors or transport rules on a hunch.
- Do not delete anything from a mail queue to “unblock it”.
- Do not tell users to resend everything.
Checks
What MX records does the world see?
From any Windows machine, ideally outside your network:
Resolve-DnsName -Name <yourdomain> -Type MX
Source: Resolve-DnsName, Microsoft Learn
Or with dig on Linux or macOS:
dig +short MX <yourdomain>
Source: dig manual, BIND 9 documentation
- No answer for your domain, other domains fine: this is DNS, not mail. Go to R5 DNS or domain broken.
Does the primary MX answer on port 25?
Test-NetConnection -ComputerName <mx-host-from-the-check-above> -Port 25
Source: Test-NetConnection, Microsoft Learn
- Fails only from your office: many networks block outbound port 25. Test from an outside machine or a phone hotspot before you conclude anything.
- Fails from outside too, and the status page shows an incident: inbound is down at the provider. Wait, communicate, re-decide at +2 hours.
- It answers, but mail still does not arrive: the problem is behind the MX. Trace a message (next check).
Where did a specific message go?
If you can still connect to Exchange Online PowerShell:
Connect-ExchangeOnline -UserPrincipalName <admin@yourdomain>
Get-MessageTraceV2 -RecipientAddress <user@yourdomain> -StartDate (Get-Date).AddHours(-6) -EndDate (Get-Date)
Source: Connect to Exchange Online PowerShell, Microsoft Learn and Get-MessageTraceV2, Microsoft Learn
How-to: H2 Trace a missing email in Exchange Online
If you cannot connect, that is normal during a provider outage. Do not fight it.
If you prepared a continuity path
Only if you set one up beforehand with H12. Do not build one during the outage.
- Filtering gateway in front (MX points to the gateway): open the gateway’s console from your phone or a machine outside the tenant. Check its queue or spooling alert, and start or confirm the continuity event the way the vendor documents it. Mail waits in the gateway queue up to the vendor’s queue limit, which may be only a few days. Know yours.
- Backup MX relay (lower-priority MX on Postfix): look at its queue.
postqueue -p
Source: postqueue manual, Postfix
- Messages deferred, waiting for the primary: the relay is doing its job. Leave the queue alone and watch disk space.
- Senders get “relay access denied”: the relay does not accept your domain or recipients. Those senders get hard bounces. Escalate.
- Queue empty while users say mail is missing: Exchange Online still answers on port 25, so senders never try the backup. A backup MX does not help in a partial outage.
How-to: H12 Set up a third-party backup MX and mail queue
Sending while Exchange Online is down
Outlook cannot send while Exchange Online is down. What is realistic:
- With a gateway continuity inbox: a few people send urgent plain mail from the vendor’s web inbox. It only passes DMARC if the vendor’s SPF include and DKIM signing for your domain were set up before the outage (DMARC needs SPF or DKIM aligned with the From domain, see RFC 7489 in the sources).
- Without one: use the phone for urgent matters. Do not set up a new sending service or loosen DMARC tonight.
- Replies to anything sent during the outage come back through your normal MX and wait in the queue like all other inbound mail.
Decision points
- +15 minutes: inbound, outbound or mailbox access? Provider incident or your change?
- +30 minutes, gateway continuity prepared: start the continuity event if the vendor does not start it by itself, and tell users by SMS where the continuity inbox is.
- +2 hours: reroute mail (change MX to a fallback) only if the provider gives no ETA and the business has agreed in writing that mail landing at the fallback is acceptable. Log the decision with the time.
- A change of yours just before it broke (connector, rule, DNS)? Roll back that one change first.
Alone?
You drive and you write the log. An MX change needs a written yes from the business owner; if you cannot get one, keep waiting and keep communicating.
Stop and escalate when
- The status page shows nothing and the primary MX has been unreachable from outside for more than 30 minutes. Open a support case.
- A backup relay rejects mail or its disk is filling.
- Someone wants to create or enable an inbound connector “to get mail in”. That opens a trusted path into the tenant.
- Outbound mail from a fallback fails SPF or DMARC. Do not loosen DMARC under pressure.
What to tell management
“Email is [delayed inbound / not sending / not opening] since [time]. Most mail will arrive when the provider recovers, but some senders may get a bounce if this lasts more than a day. Urgent matters by phone. I will decide at [time + 2 h] whether to switch to the fallback, and I will tell you before I do.”
Tell staff by SMS or phone, not by mail.
Points of no return
- Changing MX records: with a long TTL, senders keep using the old answer for hours after you change it back.
- Deleting queued messages: they are gone for good.
After it is back up
Check that delayed mail arrived (message trace), set any changed records back, and log it. If a continuity path was used: let its queue drain, end the continuity event, tell users to stop sending from the continuity inbox, and disable any connector you enabled for a backup relay. Run the incident review: P6 Handover, drills and learning after incidents.
Before the next outage
Decide, as a business decision, whether waiting is enough. For an outage of a few hours, mail is normally only delayed. Past about 12 to 24 hours, some senders start getting bounces, because Exchange Online senders give up after 24 hours (NDR 550 4.4.7). If waiting is not enough, Microsoft documents one design for putting a third party in the path: a filtering gateway in front of Exchange Online, with the MX pointing at the gateway and Exchange Online locked to accept mail only from it. A lower-priority backup MX next to Exchange Online is not a Microsoft design, adds a spam path, and clashes with DNSSEC and DANE on the domain. Both are set out, with their risks and a rehearsal, in H12.