530 tells a mail client or device to do something first: log in (SMTP AUTH), or encrypt the connection (STARTTLS). It is what a submission server answers to an app or printer set up without a user name and password.
| Code | 530 |
| Meaning | Authentication required — or “Must issue a STARTTLS command first” |
| Kind | Permanent failure — the sender gives up |
| Sent in reply to | MAIL, and other commands before AUTH or STARTTLS |
| What the sender does | Nothing is sent until the client logs in or encrypts |
| Defined in | RFC 4954; RFC 3207 |
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 causes it
- An app, device or script set up to send without logging in.
- TLS switched off in the client’s settings.
What to do
- Turn on SMTP authentication and STARTTLS in the client — usually port 587 — and send again.
What each provider means by it
| Who | What they say |
|---|---|
| Gmail | 530 5.7.0 “Authentication required” and “Must issue a STARTTLS command first”. |
| Microsoft 365 | Documents the not-logged-in case as 550 5.7.57 “Client was not authenticated to send anonymous mail during MAIL FROM”, and also 5.7.1 “Client was not authenticated”. |
| Postfix | Refuses plaintext commands except HELO, EHLO, STARTTLS, NOOP and QUIT when TLS is required — on a submission port, never on a public MX. |
Worth knowing
A public MX on port 25 must not require STARTTLS; 530 belongs to submission servers.
Sources
Checked on 27 September 2026 against these official sources:
- RFC 4954: SMTP Service Extension for Authentication — rfc-editor.org
- RFC 3207: SMTP Service Extension for Secure SMTP over Transport Layer Security — rfc-editor.org
- Simple Mail Transfer Protocol (SMTP) Enhanced Status Codes Registry — iana.org
- Gmail SMTP errors and codes — knowledge.workspace.google.com
- Fix NDR error 5.7.57 in Exchange Online — learn.microsoft.com
- Postfix Configuration Parameters — postfix.org