SMTP

SMTP Error 543

"SMTP Error 543" isn't a valid RFC 5321 reply code. Learn what it's confused with (the X.4.4 "unable to route" enhanced status), and how to diagnose the real routing failure.

Updated Jul 1, 2026

The short answer

"SMTP Error 543" is not a real SMTP reply code. RFC 5321 §4.2.3 defines a fixed set of three-digit replies, and 543 is not among them. The label conflates a routing failure with the enhanced status code X.4.4 "Unable to route" (RFC 3463), usually a DNS/MX problem. Fix it by reading the server's actual reply text and verifying the recipient domain's MX records resolve.

Is "SMTP Error 543" a real SMTP code?

No. SMTP reply codes are defined in RFC 5321 §4.2.3 ("Reply Codes in Numeric Order"), and 543 is not one of them. The 5xx (permanent failure) replies listed in §4.2.3 are: 500, 501, 502, 503, 504, 550, 551, 552, 553, 554, and 555. (RFC 7504 later added 521 "Host does not accept mail" and 556 "Domain does not accept mail" to that list.) There is no 543 in any of them.

Where the number comes from is the enhanced status code system in RFC 3463. Enhanced codes look like X.4.4 ("Unable to route") and are written with dots, not as a bare three-digit number. A real bounce that involves routing looks like this:

550 5.4.4 [recipient.example] Unable to route: no MX record found

Here 550 is the RFC 5321 reply code and 5.4.4 is the RFC 3463 enhanced code. Somewhere along the way, tools and SEO pages collapsed "5.4.x routing" into a fictional "543." Treat "SMTP Error 543" as a mislabel: go read the server's actual reply line.

What is the real error behind it (X.4.4 "Unable to route")?

Per RFC 3463 §3.5, class X.4.x is "Network and Routing Status." The specific code X.4.4 "Unable to route" means: "The mail system was unable to determine the next hop for the message because the necessary routing information was unavailable from the directory server" — in practice, a DNS/MX lookup that returned nothing usable (for example, only an SOA record and no MX or A record for the recipient domain). The leading digit tells you severity: 4.4.4 is a temporary routing failure worth retrying; 5.4.4 is permanent.

How do I diagnose the real routing failure?

  1. Capture the full reply. Get the exact line from your MTA/provider logs — the real reply code (421, 450, 550…) plus the enhanced code (4.4.4 / 5.4.4) and the human-readable text. That text is the ground truth, not "543."
  2. Check the recipient domain's MX records. Run dig MX recipient-domain.com +short (or nslookup -type=MX recipient-domain.com). If nothing returns, the domain has no mail route — confirm the address and domain are spelled correctly and the domain still exists.
  3. Fall back to A/AAAA per RFC 5321 §5.1. If a domain has no MX records, RFC 5321 treats it as having an "implicit MX" pointing at the domain's own host, so senders use the domain's A/AAAA record. If neither MX nor address records resolve, delivery cannot be routed — this is the classic X.4.4 condition.
  4. Test resolution from the sending host. DNS can resolve fine from your laptop but fail on the mail server (split-horizon DNS, a broken resolver, or an outbound firewall blocking port 53). Verify from the host that actually sends.
  5. If you operate the routing. For an on-prem MTA (Postfix transport_maps, Exim routers, a smart host), confirm the route/relay host for the destination is defined and reachable. A bad transport map produces a local "unable to route," not a remote bounce.

Note that some sources describe "543" as an invalid/blocked recipient — that overlaps with 550 5.1.1 ("bad destination mailbox address") and is a different diagnosis. Don't guess: the enhanced code in the bounce tells you whether it's routing (5.4.x) or a bad address (5.1.x).

With Courier

If you send email through Courier, provider responses (SendGrid, Amazon SES, Mailgun, Postmark, etc.) surface in the message logs with the underlying SMTP/API status. Use those logs to read the real reply and enhanced code rather than searching for "543," then apply the DNS/MX checks above.

FAQ

Common questions

No. RFC 5321 §4.2.3 defines the valid three-digit reply codes, and 543 is not one of them. The valid 5xx permanent-failure codes there are 500, 501, 502, 503, 504, 550, 551, 552, 553, 554, and 555; RFC 7504 later added 521 and 556 to that set. "543" is a mislabel, usually for the RFC 3463 enhanced status code X.4.4 ("unable to route").

One API, every provider

Stop debugging raw provider errors

Courier connects to your email, SMS, and push providers, handles retries and failover, and surfaces delivery errors in plain language.

Reply-code definitions per RFC 5321 §4.2.3; RFC 3463 §3.5 (X.4.4). Last reviewed Jul 1, 2026. Courier is not affiliated with third-party providers; error behavior may vary by implementation.