Tools

535 5.7.8 Authentication credentials invalid

Provider: Generic SMTP

Sample bounce line

535 5.7.8 Authentication credentials invalid

What it means

RFC 4954 section 6 defines this AUTH reply: 'This response to the AUTH command indicates that the authentication failed due to invalid or insufficient authentication credentials.' It is a permanent failure of the AUTH command, so the client should not just repeat the same credentials.

Why it happens

How to fix it

  1. Re-enter the username and password and check the login name format
  2. Admin: check the server logs; Dovecot's auth_debug=yes logs a debug line for almost everything related to authentication
  3. Postfix with Dovecot SASL: confirm smtpd_sasl_type = dovecot, smtpd_sasl_path = private/auth and smtpd_sasl_auth_enable = yes
  4. Exim: for clients that fail PLAIN with '535 Incorrect authentication data', add server_prompts = : to the PLAIN authenticator (Exim FAQ)

Check your domain now

Many of these errors come from missing or broken SPF, DKIM, DMARC or reverse DNS records. Enter your domain to run the free check.

Check your domain now

Related errors

No related errors listed yet.

Official documentation

Paste another bounce message · All errors