← SMTP error codes

550 5.7.1 Relay denied error: Relay access denied

The server you connected to isn't willing to relay this message: either you didn't authenticate to it, or the recipient's domain isn't one it handles.

permanentHard bounce · Configuration

How to fix 550 5.7.1 Relay denied

  1. If you sent through your own provider: turn on SMTP authentication in the sending app.
  2. If you're sending to a recipient's server directly, check the recipient domain's MX - you may be sending to the wrong host.

Look up the MX records →

Why this happens

Something in the server or DNS setup doesn't meet the basic rules of the SMTP conversation: how the server identifies itself, whether it has reverse DNS, whether it uses TLS, or whether it is allowed to relay at all.

How to keep it from coming back

Set a real hostname with matching forward and reverse DNS, enable TLS, authenticate before relaying, and re-test the setup after any change to your mail server or provider.

Should I retry a 550 5.7.1 Relay denied error?

Not as it stands. A permanent error means the same message will be refused again until the cause is fixed on your side. Fix the cause first, then send a fresh message; if it keeps failing after that, check the full text of the bounce for the exact reason.

Got the full bounce message?

The text after the code names the exact reason, and the same code can mean different things at different receivers. Paste the whole message into the decoder - it runs in your browser and nothing is sent.

Open the bounce decoder

Related error codes

Seeing this again and again? That's usually a reputation or authentication problem we can trace and fix at the source.

How we help: Consulting · Private infrastructure · Managed mailboxes · Monthly support