TL;DR
In the one exact example this catalog has, 5.7.7 means a spam-filtering relay not attributed to any catalogued provider refused the message at the end of the DATA command because it already carried a duplicate X-Original-Authentication-Results header — a signal the relay reads as message corruption or header tampering, not a quota, address, or content-policy problem. Do not retry the identical message; fix whichever step in the sending or forwarding chain is duplicating that header, then send a clean copy.
What this code means
RFC 3463 defines registry pattern X.7.7 as "Message integrity failure" and states outright that the pattern can usefully appear as a permanent, transient-persistent, or successful-delivery code, depending on context. Still, this catalog's IANA registry mirror lists X.7.7 as unresolved for every class: neither class 4 nor class 5 has a confirmed registry entry here. Code 5.7.7 maps that pattern onto class 5 and is published solely from exact corpus evidence (the relay's 554 5.7.7 response below), not from any IANA registry confirmation for this class.
Technical meaning
In one accepted example, concrete code 5.7.7 applies the X.7.7 pattern as a permanent failure: a spam-filtering relay not attributed to any catalogued provider rejects the message at the end of the DATA command because it carries more than one copy of the same X-Original-Authentication-Results header, a condition this particular relay treats as evidence of corruption or tampering rather than an ordinary side effect of repeated forwarding. The pattern signals a message-integrity failure: a transport system authorized to validate a message could not, because the message was corrupted or altered. RFC 3463 (Section 3.8) frames the pattern generically and notes it may serve as a permanent, transient-persistent, or successful-delivery code; it never settles which class holds a confirmed IANA registry entry, and in this catalog neither class does for X.7.7.
Delivery status
The leading digit 5 denotes a permanent failure for this specific message in the observed example: do not repeat the exact same send unchanged. This does not mean the X.7.7 pattern is inherently permanent by definition — RFC 3463 itself allows it to be used as a transient-persistent or successful-delivery code too, depending on how a given system applies it. Treat class 5 here as a property of this particular relay's observed behavior in this example, not as a universal trait of the X.7.7 pattern itself.
- Class
- Permanent failure
- Retry
- Do not retry unchanged
- Suppression
- Check the full context
Retry decision
Operational recommendation: do not retry the same unchanged message to this address — a repeat send carrying the same duplicated header will fail the same way. Find and fix whichever step in the sending or forwarding chain is adding the second copy of the X-Original-Authentication-Results header, then send a new, deduplicated message.
Suppression decision
Do not suppress the recipient address based on code 5.7.7: this is a signal about the integrity of one specific message and header hygiene along the sending chain, not a signal about the validity or activity of the recipient address. Suppression decisions should rest on independent, durable signals about the address itself, not on a single message's header-formatting defect.
Common causes
- A forwarding step, mailing-list hop, or downstream relay in the chain re-adds an X-Original-Authentication-Results header without stripping the copy already attached at an earlier hop, so the message arrives carrying two identical copies of that header.
- The sending platform or an internal relay chain resends or re-injects a message without deduplicating headers a prior internal step already attached.
- In the one accepted example, the destination relay (spamrelay.zxcs.nl) treats this specific duplication as a spam signal (the corpus library's own parsed data flags it spam: true, not a blocklist hit) rather than a generic formatting complaint — documented behavior of this one relay, not a general rule enforced by all providers.
Diagnostic steps
- Confirm the enhanced code is exactly 5.7.7, the basic reply is 554 (in the accepted example), and read the relay's literal wording — the "too many equal X-headers" phrase names the exact header that repeated.
- Inspect the outgoing message's raw headers for any header appearing more than once, especially X-Original-Authentication-Results, and trace which step (forwarding, a relay, resend logic) added the extra copy.
- Correlate the response with the recipient or domain and the attempt time; retain the full "host ... said: ..." diagnostic line, since it names both the intermediate relay and the exact duplicated header.
- Fix the duplication at its source (forwarding, relay, or resend logic) and send a fresh, deduplicated message rather than retrying the identical one.
Actions by owner
Sender administrator
- Do not resend the identical message; a repeat send carrying the same duplicated header will fail the same way.
- Trace the mail flow (forwarders, relays, internal resend or retry logic) to find which step is duplicating the header, and fix the deduplication there before sending again.
Provider
- If you operate a relay, forwarder, or mailing-list step in this path, strip any X-Original-Authentication-Results header you did not add yourself before re-injecting the message, rather than appending a second copy alongside the original.
- If you operate the receiving filter, keep the diagnostic text naming the specific repeated header, since that text is what lets the sending side find and fix the actual defect.
Recipient administrator
- If your organization's inbound relay applies this same duplicate-header check, confirm your own infrastructure is not the one duplicating the header before advising the sender to change anything.
- Where policy permits, share the exact response text with the sender's administrator so they can identify which specific header repeated.
Provider examples
554 5.7.7 too many equal X-headers (X-Original-Authentication-Results:)Sources
These sources define what this enhanced status code means, mainly through the IANA registry and related RFCs. When provider examples appear on the page, they come from that provider's published documentation. Follow the links to read the original wording in context.
- RFC 3463 — Enhanced Mail System Status Codes — Defines the class/subject/detail model for enhanced status codes.
- RFC 5248 — A Registry for SMTP Enhanced Mail System Status Codes — Creates and governs the IANA enhanced status code registry.
- email-bounce-parser (test fixture corpus) — Open-source bounce-parsing library whose test fixtures are pinned locally as evidence.
Last verified:

