Client Host Blocked Using zen.spamhaus.org: What to Do
Client host blocked using zen.spamhaus.org means the sending IP is on a Spamhaus list. How to check it, who can get it removed, and when the receiver errs.
A bounce such as "554 5.7.1 Service unavailable; Client host [203.0.113.25] blocked using zen.spamhaus.org" means the receiving server looked up the IP address that tried to deliver your message in Spamhaus ZEN, found it listed, and refused the connection. ZEN combines four Spamhaus lists, so the next step is finding out which one. Spamhaus's IP and Domain Reputation Checker at https://check.spamhaus.org shows the listing and the removal route. The IP is the sending server's, so whether you can fix it yourself depends on whose server that is.
Quick answer
Take the IP from the bounce and look it up at https://check.spamhaus.org. If it belongs to your mail provider, send them the bounce. If it is your own server, fix the cause, then follow the checker's steps: CSS and XBL listings are handled through the checker, SBL listings go through your network provider's abuse team, and PBL means the IP was never meant to send mail directly. If the checker says the IP is clean but the bounce keeps coming, the receiving server may be misreading Spamhaus error answers; tell the recipient's admin.
What ZEN contains
Spamhaus describes ZEN as a single lookup covering four lists. A ZEN hit always means one or more of these:
- SBL (Spamhaus Blocklist): malicious network ranges. Removal is requested by the network owner, usually your hosting company or internet provider.
- CSS (Combined Spam Sources): IPs seen sending spam, often a hacked account, an abused form or a bulk send to bad addresses.
- XBL (Exploits Blocklist): compromised machines, such as an infected computer or server. One removal request in the checker covers both CSS and XBL if you are on both.
- PBL (Policy Blocklist): address ranges that should not send mail directly, such as home broadband. Spamhaus says inclusion on the PBL is normal, and removal should only be requested if you actually run a mail server on that IP.
Whose problem is it?
The sender's, because the listing is on the sending IP. Look at the bounce: the IP in brackets is the machine that connected to the recipient. If you use a hosted mail service, that machine belongs to the provider. If you run a server, a VPS or a website that sends mail itself, it is yours. If you send straight from a computer or device on a home line, the IP is almost certainly on the PBL, and the fix is to stop sending directly. The DNS blocklist explainer covers how these lookups work.
Fix it, step by step
- Look up the IP at https://check.spamhaus.org and note which list or lists it is on.
- For CSS or XBL, find and remove the cause first: change leaked passwords, close open forms, clean malware, stop sending to old lists. Spamhaus asks you to read the listing details so you are not listed again.
- Then request removal through the checker. If the request cannot be processed straight away, Spamhaus raises a ticket with its team.
- For an SBL listing, contact your hosting company's or internet provider's abuse team. Spamhaus works with the network owner, and you cannot clear other lists until the SBL listing is resolved.
- For PBL, only request removal if the IP is a real mail server with proper reverse DNS. Otherwise, send through your provider's SMTP server on port 587 with a login.
- Resend one test message to the address that bounced.
Free business email on your own domain
OquMail gives you up to 15 mailboxes on your domain — free — with guided SPF/DKIM/DMARC, webmail, IMAP/SMTP for any mail app, and a send API. Setup is a few DNS records; changes usually take effect within minutes, occasionally up to 48 hours. Start at oqumail.com.
When the receiver is the one at fault
Spamhaus's free public mirrors have rules. They are free for non-commercial use by small and medium organisations, at volumes you would expect from that use, and the query must come from an identifiable network: a resolver on the receiver's own network, or a public resolver that supports ECS. Commercial use needs a paid Datafeed subscription, and Spamhaus suggests its Data Query Service (DQS) for anyone who wants to keep using a public resolver. A receiving server that ignores these rules gets error answers, 127.255.255.254 for queries through a public or open resolver and 127.255.255.255 for too many queries. Spamhaus says these are errors and must not be treated as listings, but a badly set up server may still reject everyone. If the checker shows your IP clean and only one company bounces you, tell their admin about the return codes.
How to confirm it is fixed
Run the IP through the checker again; it should show no current listings. Send a test to the address that bounced and to a Gmail address, and check Show original for SPF, DKIM and DMARC passes. The free SPF checker, DMARC checker and MX lookup confirm your domain records. For other lists, the blacklist check guide covers removal.
What OquMail users should check
Mail sent from OquMail leaves through OquMail's servers, so a Spamhaus hit on that IP is OquMail's to handle; send the full bounce to support. If the IP in the bounce is your own, your app or device is sending directly instead of through OquMail. Set it to mail.oqumail.com, port 587, STARTTLS, with the full mailbox address and password. Check the five records in the dashboard (ownership TXT, MX, SPF set to v=spf1 mx a:mail.oqumail.com ~all, DKIM and DMARC) are live. Each mailbox sends up to 250 messages a day, and bulk lists are better sent from a marketing service.
Common questions
What does "client host blocked using zen.spamhaus.org" mean?
It means the server you sent to checked the sending IP against Spamhaus ZEN, found it listed on SBL, CSS, XBL or PBL, and refused the message. Look the IP up at check.spamhaus.org to see which list and the removal steps.
How do I check if my IP is on Spamhaus?
Enter the IP at https://check.spamhaus.org, Spamhaus's IP and Domain Reputation Checker. It shows current listings and what to do for each.
Why is my home IP on the Spamhaus PBL?
Because home and many office ranges are listed by policy: they are not supposed to deliver mail straight to other servers. It does not mean you sent spam. Send through your mail provider's SMTP server on port 587 instead.
Can I use Spamhaus for free on my own mail server?
Yes, if you meet the free-use terms: non-commercial use by a small or medium organisation, reasonable volume, and queries from your own resolver or an ECS-capable public one. Commercial users need a paid subscription.
Want to see how your own domain is set up? Use the free SPF checker, DMARC checker and MX lookup: they run in your browser and store nothing.