What 5.4.6 means
The server detected that the message was routed back to itself.
Typical bounce message
The exact wording differs between providers, but the code is what matters. Many providers add a link after the text that explains their specific policy.
Common causes
- MX records that point to a server which forwards back.
- Forwarding loops.
If you sent the email
- Remove circular forwarding.
If you manage the mail server or domain
- Check MX records, smarthosts and relays.
How to read this code
- 5.4.6 is the enhanced status code from RFC 3463. The class 5 again means permanent, the subject 4 means network and routing, a problem reaching or routing to the destination, and the detail 6 narrows it down to the exact condition described on this page.
Because this is a permanent failure, your mail server stops trying and returns the message to you with this explanation.
5.4.6 from each side of the email
| If you are | What you see | What to do first |
|---|---|---|
| The sender | A bounce message (also called a non-delivery report) in your inbox, usually within seconds or minutes. | Remove circular forwarding |
| The recipient | Nothing. The message never reaches the inbox, so the recipient usually does not know it was sent. | Tell the sender through another channel which address works, or ask your IT team to check your mailbox and filters. |
| The mail admin | A rejected delivery in the server logs with status 5.4.6. | Check MX records, smarthosts and relays |
What the full bounce report looks like
Most mail servers send a delivery status notification in a standard format defined by RFC 3464. The human-readable part comes first, and a machine-readable part follows. For this error, the important lines look like this:
Action: failed
Status: 5.4.6
Remote-MTA: dns; mx.example.com
Diagnostic-Code: smtp; 5.4.6 Routing loop detected
Action tells you whether the server gave up (failed) or is still trying (delayed). Status is the enhanced code. Remote-MTA names the server that refused the message, which tells you whether the problem is at the recipient's provider or somewhere in between. Diagnostic-Code is the exact reply that server gave, and it is the line to copy when you ask for help.
Should you resend?
Not until something has changed. A permanent error means the receiving server looked at the message and decided it will not accept it in its current form. Sending the same message to the same address again will fail the same way, and repeated hard bounces tell mailbox providers that you do not keep your list clean. That can push your future mail into spam folders for everyone, not just for this recipient.
Fix the cause first, using the steps on this page. Then send one test message, ideally to an address you control at the same provider, before you resend to the original recipient. If you send newsletters or app notifications, remove the address from your list after the first hard bounce of this kind.
Diagnose it: 5.4.6 usually points to a network or routing problem
- Run an MX lookup for the recipient domain and confirm the hosts resolve to real addresses.
- From your mail server, test that you can reach port 25 on the receiving host. Many cloud and home networks block outbound port 25 by default.
- Check for DNS problems on your own server: a broken resolver makes every remote domain look unreachable.
- If the bounce mentions a timeout, compare the time it took with your server's connection timeout settings.
Stop it from happening again
- Use reliable DNS resolvers on your mail server and monitor them.
- Publish at least two MX records for your own domain so incoming mail has a backup path.
- If you send from a cloud provider, use its approved relay or a transactional email service instead of sending directly on port 25.
Test your fix without bothering real people
Once you have changed a DNS record, a server setting or a message template, send a test to a free temporary inbox. It accepts mail from anywhere, shows the message within a second of arrival, and the Email X-ray on each message shows whether SPF, DKIM and DMARC passed. That tells you whether your authentication is working before you send to customers, and it keeps test messages out of real inboxes and out of your bounce statistics.
Codes in the same family
| Code | Meaning | Type |
|---|---|---|
| 421 | Service not available, closing connection | Temporary |
| 451 4.4.0 | DNS query failed or routing problem | Temporary |
| 451 4.4.2 | Connection dropped or timed out | Temporary |
| 4.4.7 | Message delayed, delivery time expired soon | Temporary |
| 5.4.7 | Delivery time expired | Permanent |
| 5.4.300 | Message expired (Microsoft 365) | Permanent |
| 550 5.4.1 | Recipient address rejected: access denied | Permanent |
| 554 5.4.14 | Hop count exceeded, possible mail loop | Permanent |
A real-world example
A developer deploys a new app on a cloud server and its emails never arrive. The logs show connection timeouts to every receiving server. The cloud provider blocks outbound port 25 by default. Switching the app to send through an email service on port 587 fixes it.
Terms used on this page
- Bounce
- A message returned to the sender because it couldn't be delivered.
- MTA
- Mail Transfer Agent, server software that receives and relays email between servers.
- Spam
- Unsolicited bulk email, usually commercial, sent without the recipient's consent.
- Hard bounce
- A permanent delivery failure, usually because the address does not exist.
- DNS
- The Domain Name System, which translates domain names into the information computers need, like IP addresses and mail servers.
- Transactional email
- An automated message triggered by a user action, such as a receipt, password reset or verification code.
Related guides
Related codes
FAQ
What does SMTP error 5.4.6 mean?
The server detected that the message was routed back to itself.
Is 5.4.6 a permanent error?
Yes. 5.4.6 is a permanent failure, so the sending server will not retry. Fix the cause and send the message again.
How do I fix 5.4.6?
If you sent the email: Remove circular forwarding. If you run the mail server: Check MX records, smarthosts and relays.
Does 5.4.6 mean I am blacklisted?
Usually not. 5.4.6 points to a network or routing problem, not to your reputation. Blocklist rejections normally use codes in the x.7.x family, often 550 5.7.1 or 554 5.7.1.
Can the recipient fix it?
Rarely. Most causes of this error are on the sending side or in the receiving server's policy, so the sender or the sender's mail admin has to act.
Will I see 5.4.6 in Gmail or Outlook?
Yes, if your message fails this way. Gmail shows it in a message from "Mail Delivery Subsystem", and Outlook shows it in a non-delivery report that starts with "Delivery has failed" or "Undeliverable". The code is printed in the technical details near the bottom.
Codes and meanings follow RFC 5321, RFC 3463 and related standards, plus the published error references of major providers. Provider wording changes over time.