Opens in a new tab

SMTP 538: encryption required for authentication — what it means

538 means the chosen login method — typically PLAIN or LOGIN — may be used only over an encrypted connection. Modern servers rarely send it: they simply do not offer those methods until TLS is up.

Code538
MeaningEncryption required for requested authentication mechanism
KindPermanent failure — the sender gives up
Sent in reply toAUTH
What the sender doesStarts TLS, then logs in again
Defined inRFC 4954, section 6

Paste your bounce

Paste the line with the code — or the whole bounce: we explain each code in it, say whether the sender will try again, and link the service’s own page where it has one. It is read in your browser; nothing is sent.

What to do

  • Use STARTTLS on port 587, or implicit TLS on port 465, before logging in.

What each provider means by it

WhoWhat they say
PostfixWith smtpd_tls_auth_only, does not offer or accept login over an unencrypted connection at all.

Worth knowing

RFC 4954 keeps 538 for historical purposes: servers should not advertise a method they will refuse for lack of encryption.

Related: 530, 5.7.11.

Sources

Checked on 27 September 2026 against these official sources:

See every bounce before your customers do

Add your domain and send us a test message: we show what a receiving server saw — authentication, reverse DNS, blocklists, TLS — and monitor the servers you send from for blocklistings every day. Free for your first domain.

Create a free account