Email security
Not receiving email? How to check your MX records and fix them
Email not arriving at your domain? Check your MX records first. The seven MX mistakes that stop mail, how to spot each one, and what to change.
By Brandon Sooknanan, Founder, Varaxon Technologies · · 5 min read
When email stops arriving, the first thing to check is the domain's MX records. They are the DNS entries that tell every other mail server on the internet where to deliver your mail. Get them wrong and messages bounce, sit in a queue for days, or land in a mailbox at a provider you stopped paying last month.
Start by entering your domain (or any email address at it) in the MX lookup. Then compare what you see with the problems below.
First, is it really an MX problem?
A bounce message (the non-delivery report the sender gets back) usually says what went wrong. Ask a sender to forward you theirs:
| Bounce says | Likely cause | Check MX? |
|---|---|---|
| "Host or domain name not found", "DNS error", "no MX or A record" | The sender can't find any mail server for your domain | Yes, first |
| "User unknown", "mailbox not found", code 550 5.1.1 | Mail reached your server, but that mailbox doesn't exist | No. Check the address and the mailbox. |
| "Mailbox full" or "quota exceeded" | Mail reached the right place, and the mailbox is full | No |
| "Message rejected" or "blocked" with a policy reason | Your provider's spam filtering refused it | No. Check your provider's quarantine. |
| A delay warning, or a 4xx code | A temporary problem. The sender will keep retrying. | Maybe, if it lasts more than an hour or two |
If nobody gets a bounce at all, and the mail simply never arrives, MX pointing at the wrong provider is the prime suspect.
Seven MX mistakes that stop email
1. The old provider's MX record is still there
When you move from one email provider to another, the new provider's MX records have to replace the old ones, not sit beside them. Senders try the lowest priority number first. If the old provider's record says 0 and the new one says 10, most mail still goes to the old provider. The MX lookup shows every record with its priority and the provider it belongs to, so a mixed setup stands out.
2. No MX records at all
With no MX records, many senders fall back to the domain's address (A record), which is usually a web server that doesn't accept email. The result is bounces or long delays. This often happens when a domain's DNS moves to a new host (a new registrar, Cloudflare, a website builder) and the email records aren't copied across.
3. A null MX on a domain that should receive email
A null MX (priority 0, host .) is the standard way to say a domain never accepts email (RFC 7505). Senders give up straight away. It's correct for a domain that only hosts a website, and a disaster on your main domain. Some DNS templates add it by default.
4. MX pointing at an IP address or an alias
An MX record must name a host, like mx1.example.com, never an IP address. That host must have its own address record. Pointing MX at a CNAME (an alias) is also against the DNS standard (RFC 2181, section 10.3), and some senders refuse it. If you run your own mail server, give it a proper A record and point MX there.
5. A typo in the mail server name
Microsoft 365 host names are long and unique to your domain, so they're easy to mistype. Many DNS hosts also add your domain to the end of every name you enter, so mx1.example.com can become mx1.example.com.example.com. Copy the exact value from your provider's admin console, and check the result with the MX lookup.
6. A recent change that hasn't spread yet
Every record has a TTL (time to live): how long other servers may cache it. Until the old TTL runs out, some senders still use the old MX. Changes usually settle within minutes to a few hours. Before a planned move, lower the TTL to five minutes a day ahead, so the switch takes effect quickly.
7. The domain itself has lapsed
If the domain registration expires, its DNS stops answering and all mail stops at once. If the MX lookup can't find the domain at all, check the registration first. The free email security check shows the expiry date and whether the registrar lock is on.
What correct MX records look like for the big providers
| Provider | Typical MX record |
|---|---|
| Google Workspace | One record: priority 1, smtp.google.com. Older setups with five aspmx records still work. |
| Microsoft 365 | One record: priority 0, a host ending in mail.protection.outlook.com (or mx.microsoft on newer setups), unique to your domain. |
| Behind an email security gateway | The gateway's host names (for example Mimecast or Proofpoint), not the mailbox provider's. The gateway passes clean mail on. |
If you use a security gateway, the MX must point only to the gateway. A leftover MX pointing straight at the mailbox provider lets attackers deliver mail around your filtering.
After the fix: check the rest of your email DNS
A provider change touches more than MX. The SPF record needs the new provider's include (and the old one removed), DKIM needs switching on at the new provider, and DMARC reports will show whether it all lines up. The MX lookup shows SPF and DMARC at a glance. The email security check grades all of it together, and our guide on SPF lookups covers the most common SPF error after a migration.
Common questions
How do I know if my MX records are correct?
Look them up with the MX lookup and compare them with the values in your email provider's admin console. Every MX record should belong to your current provider or your email security gateway, and none should be left from an old provider.
Can I have MX records for two providers?
Only on purpose, such as during a planned migration with mail routing set up between them. Otherwise senders split mail between the two, and messages go missing.
Why do I receive email from some people but not others?
Usually because of a recent MX change that some senders have cached and others haven't, or because your provider's spam filter is blocking particular senders. Check the provider's quarantine and wait out the old TTL.
What does MX priority 0 mean?
It's the most preferred server. Senders try the lowest number first. Priority 0 with the host "." is different: that's a null MX, which says the domain accepts no email at all.
Turn your next scan export into a client-ready report.
Run a free pre-flight check