TL;DR
Permanent AUTH failure: credentials were invalid or insufficient. Supply new credentials or fix identity configuration before retrying. Not a recipient-address bounce; repeated auth failures can reflect on sender reputation. Do not retry with the same credentials.
What this code means
SMTP AUTH failed because the supplied credentials were invalid or insufficient for the attempted session; that is code 5.7.8 under pattern X.7.8. The enhanced status register treats this credential outcome as permanent for the current attempt. The standard places the detail in the security and authentication family, yet the numeric reply concerns client authentication, not recipient addressing, and by itself it does not identify which credential element failed or prove that the recipient address is invalid.
Provider examples
535 5.7.8 Error: authentication failed: authentication failureTechnical meaning
As a response to the AUTH command, X.7.8 means authentication failed because the credentials were invalid or insufficient. Code 5.7.8 applies this detail in permanent class 5; the client should ask the user to supply new credentials afterward.
Delivery status
The leading digit 5 denotes a permanent failure of the current attempt. The code concerns client authentication, but by itself it does not identify which credentials were invalid or insufficient, and it does not establish that the recipient address is invalid.
- Class
- Permanent failure
- Retry
- Do not retry unchanged
- Suppression
- Check the full context
Retry decision
Operational guidance: stop automatic and manual retries with the same credentials. Consider a new AUTH attempt only after obtaining new credentials or confirming a correction to identity, authorization, or configuration; check suppression again before the attempt.
Suppression decision
Operational guidance: do not automatically suppress the recipient address or domain based on 5.7.8 alone. Inspect the complete response, authentication context, event history, and applicable policy, then make the suppression decision in that context.
Common causes
- The credentials supplied in the AUTH attempt were invalid or insufficient.
Diagnostic steps
- Inspect the raw SMTP response and confirm that the enhanced code is exactly 5.7.8 and that the basic reply is in the 5xx class; retain the complete response without recording secrets.
- Correlate the response with the specific AUTH attempt, time, identity used, authentication mechanism, and system that returned the code; use safe logs to determine whether the credentials were invalid or insufficient.
- Stop unchanged retries; before a controlled new attempt, confirm new credentials or a material configuration correction and check suppression again.
Actions by owner
Sender
- Do not retry with the same credentials; supply new credentials through an approved secure mechanism or give the administrator the complete context without exposing secrets.
Sender administrator
- Stop unchanged retries, inspect the identity, AUTH mechanism, and credential source, then permit a new attempt only after a verified correction and another suppression check.
Recipient administrator
- If you manage the authenticating system, inspect safe logs and the applicable authorization for the specified attempt, then correct only a confirmed server-side problem.
Provider
- If you operate a service involved in the attempt, inspect its authentication logs and give the administrator safe context needed to distinguish invalid credentials from insufficient authorization.
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.
- SMTP Enhanced Status Codes — IANA registry of enhanced mail system status codes.
- RFC 5248 — A Registry for SMTP Enhanced Mail System Status Codes — Creates and governs the IANA enhanced status code registry.
- RFC 2034 — SMTP Service Extension for Returning Enhanced Error Codes — Defines how SMTP returns enhanced status codes to clients.
- RFC 4954 — SMTP Service Extension for Authentication — SMTP AUTH extension and related reply status codes.
- Yahoo Sender Hub documentation — Yahoo sender developer documentation, including SMTP protocol examples.
Last verified:

