SMTP: 554 5.7.1 Service unavailable; Client host [203.0.113.5] blocked / 554 5.7.1 <mail.example.com>: Client host rejected: Access denied
The server refused the connection from your IP because it is blocked by policy, not in the allowed list, or listed on a blacklist.
554 5.7.1 Service unavailable; Client host blocked554 5.7.1 Client host rejected: Access deniedClient host rejected: cannot find your reverse hostname554 5.7.1 Service unavailable554 5.7.1 blocked Meaning
Unlike a content rejection, 554 5.7.1 on connect refers to the connecting host. The remote admin has an IP allow/deny list, geo block, or uses a DNSBL. Check blocklists first, then contact the postmaster of the remote domain with your IP and the timestamp from the bounce.
Common causes
- Your IP is on a DNSBL or the remote admin's deny list
- Server accepts mail only from specific IPs
- Missing or mismatched reverse DNS
- Country/ASN-level block
- Previous spam from the IP range
⚡ Quick fix
- Check your IP on blocklists (mxtoolbox.com/blacklists)
- Fix reverse DNS, SPF and DKIM
- Contact the recipient's postmaster with the bounce details
Detailed fix by platform
Linux
host 203.0.113.5(PTR must exist and match the HELO name) anddig +short TXT example.comfor SPF
How to diagnose
- IP — Which IP is blocked?
- Lists — Listed anywhere?
- DNS — PTR and SPF correct?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
- 421 4.7.0 Try again later (rate limited) SMTP: 421 4.7.0 Our system has detected an unusual rate of unsolicited mail originating from your IP address. Mail sent from your IP address has been temporarily rate limited
- 450 4.7.1 Greylisted, please try again later SMTP: 450 4.7.1 <user@example.com>: Recipient address rejected: Greylisted, see http://postgrey.schweikert.ch/help/example.com.html
- 451 4.3.0 Local error in processing SMTP: 451 4.3.0 Error: queue file write error / 451 Requested action aborted: local error in processing
Most viewed in Email / SMTP
Other ways to find it
Where this error sits
Origin: Network. Errors that are often confused with or caused by this one (click to open):
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Report a correction or suggest an improvement
Last updated 4 Nov 2026