Errors

554 5.7.1: message refused (spam, blocklist or relay)

Short answer

554 5.7.1 is a permanent refusal: RFC 5321's Transaction failed with RFC 3463's Delivery not authorized, message refused. The text after it gives the cause. Relay access denied means you need to log in. Service unavailable; Client host blocked using a DNS blocklist means your IP is listed. Access denied means an admin rule. Spam message rejected means a content filter. Fix the named cause; retrying will not help.

Last checked 16 November 2026

554 5.7.1 means the receiving server permanently refused your message because you are not authorized to deliver it. That covers several unrelated causes, so the words after the code are what tell you what to fix.

554 5.7.1 <sam@example.org>: Relay access denied
554 5.7.1 Service unavailable; Client host [203.0.113.25] blocked using zen.spamhaus.org
554 5.7.1 <mailer@example.net>: Sender address rejected: Access denied
554 5.7.1 <unknown[203.0.113.25]>: Client host rejected: Access denied

What it means

554 is “Transaction failed” in RFC 5321. 5.7.1 is “Delivery not authorized, message refused” in RFC 3463, which notes it “can be the result of per-host or per-recipient filtering.” The combination is Postfix’s default for three things: relay denials (relay_domains_reject_code), DNS blocklist hits (maps_rbl_reject_code) and access table rejects (access_map_reject_code), all 554 by default. That is why it is so common.

Why it happens

Text after the code Cause
Relay access denied You are not logged in, so the server will not send to outside domains
Service unavailable; Client host [IP] blocked using (list) Your sending IP is on that DNS blocklist
Client host rejected: Access denied The admin blocked your IP or host
Sender address rejected: Access denied The admin blocked your address or domain
Wording about spam (it varies by filter) A content filter scored your message as spam

How to fix it

  1. Relay access denied: turn on SMTP authentication and use port 587 or 465. See relay access denied.
  2. Blocklisted IP: look up the IP on the named list. Find out why it was listed (a compromised account, an open relay, sending to bad lists), fix that, and request removal. Shared hosting IPs are often listed because of other customers; a reputable sending service avoids that. See our blacklist check guide.
  3. Access denied: the recipient’s organization blocks you. Contact them another way and ask why.
  4. Spam filter: authenticate with SPF, DKIM and DMARC (setup guide), remove link shorteners and suspicious attachments, and send only to people who opted in.
  5. Check reverse DNS. Many filters refuse IPs without a PTR record that matches forward DNS.

Which server sent it

  • Postfix, and the many hosts that run it, sends the exact texts above by default.
  • Gmail uses 550 5.7.1 instead of 554 for its spam and policy blocks, for example “This message is likely unsolicited email”, per Google’s list.
  • Microsoft uses 550 5.7.1 for “Delivery not authorized”, “Unable to relay” and “Client was not authenticated”, and Outlook.com’s IP blocks (S3150) are also 550 5.7.1.
  • Yahoo uses 554 for permanent failures, including IPs listed by Spamhaus, failed DMARC or DKIM, and content policy blocks.

So the same enhanced code can mean different things at each provider; always read the text. A 554 5.7.1 from your own outgoing server (relay denied) is a setup problem on your side, while one from the recipient’s server (blocklist, access rule, spam) is about your reputation or content. The host name in the bounce tells you which.

Is it temporary?

No. 554 5.7.1 is permanent and your server will not retry it. Resending the same message from the same IP will fail the same way. The recipient’s address is almost always valid, so do not suppress it for this error: fix the block, then send a new message.

How Mailcandor handles it

Mailcandor delivers through Amazon SES, so a blocklisting of your own server’s IP does not affect mail you send through it, and its DNS check confirms SPF, DKIM and DMARC. When any message is refused, the deliverability coach explains the reply in plain English and hard bounces are suppressed automatically. Decode any reply with the free bounce code lookup, browse the error library, and see more free tools.

Questions

What does 554 5.7.1 mean?

The receiving server permanently refused your message because you are not authorized to deliver it. The words after the code give the actual reason.

What does '554 5.7.1 Service unavailable; Client host blocked using' mean?

Your sending IP is on the DNS blocklist named at the end, such as zen.spamhaus.org. Look the IP up on that list, fix the cause and request removal.

What does '554 5.7.1 relay access denied' mean?

You tried to send to an outside domain through a server that does not know you. Turn on SMTP authentication. See our relay access denied page.

Is 554 5.7.1 a hard bounce?

It is permanent, but the address is usually fine. The block is on your server, IP or message, so fix that rather than removing the recipient.

Related

Send with someone on your side.

Unlimited domains on every plan, a person before any block, and 3,000 emails a month free. Tell us what you send and we set you up within one business day.