Bounce code · Permanent

5.7.10: Encryption is needed before this sign-in

Your mail app tried a sign-in method that needs encryption, such as a clear text password, on an unencrypted connection. It is permanent: retrying the same sign-in fails again, so turn on TLS or STARTTLS, or choose a stronger method. Gmail also uses 523 5.7.10 when a client sends commands right behind STARTTLS.

How to fix itEvery bounce code

PermanentSecurity or policy status

5.7.10

What happens
Command refused
Registry name
Encryption needed

At a glance

  • Type: permanent reply (class 5, RFC 3463 §2) to a command your mail app or client sent, such as its sign-in, not to a message. Nothing is queued and nothing bounces. The same command fails the same way until the cause is fixed.
  • Basic code: The IANA registry lists it with 523.
  • Enhanced code 5.7.10: “Encryption needed” in the IANA registry (RFC 5248), in the group security or policy status (RFC 3463 §3.8).

A 5.7.10 reply comes when your mail app signs in to send mail. The server will not take that sign-in method until the connection is encrypted. Nothing was sent.

What it means

RFC 5248 §2.4 registers X.7.10 as "Encryption Needed". It means an external strong privacy layer is needed before the requested authentication mechanism can be used. The RFC says the code is meant mainly for clear text mechanisms, where anyone who can watch the connection can read the password. It gives the client two ways out: start a security layer such as TLS before signing in, or use a stronger mechanism.

RFC 5248 notes that X.7.10 was in use in the industry before any published specification described it. The IANA registry pairs it with the basic reply 523, a code that the core SMTP standard does not define.

Close codes:

  • 538 5.7.11 is the older, similar reply from the sign-in standard, which now calls it historical.
  • 530 5.7.0 means the server wants a sign-in, or TLS, before it takes any mail at all.
  • 534 5.7.9 means the method is too weak for your account, encrypted or not.

How Gmail uses it

Gmail answers 523 5.7.10 when a client sends more commands right behind STARTTLS instead of waiting for the reply and starting encryption first (Gmail SMTP errors and codes). Google names it an SMTP protocol violation. The fix is in the sending software: after STARTTLS, wait for the server's answer, finish the TLS handshake, then send EHLO again.

Common causes

  • The app's outgoing mail settings have TLS or STARTTLS turned off.
  • The app connects to a port where it does not start TLS, then signs in with a plain password.
  • A device or script was written to sign in before it starts TLS.

How to fix it

If you are the sender:

  1. Open the app's outgoing mail (SMTP) settings.
  2. Turn on TLS or STARTTLS, and use the port and security setting your mail provider documents.
  3. If the app offers it, choose a stronger sign-in method than a plain password.
  4. If you wrote the client yourself, send STARTTLS and wait for the encrypted connection before you send AUTH.
  5. Send a test message to yourself.

If you run the server:

  1. Do not offer clear text sign-in methods on a connection that is not encrypted.
  2. Say in the reply text that TLS is required first.

What to do with the address

Nothing. This reply is about how your mail app signs in to its own server, not about any recipient. The addresses you were sending to are not the problem. Once the connection is encrypted and the sign-in works, send the message again.

Get up to 500 free credits. No card needed.

Fewer bounces start with a clean list: check addresses before you send.

Updated · Maintained by: Email Validation LLC