How to get delisted from Spamhaus
Spamhaus is not one list. ZEN combines SBL, CSS, XBL and PBL, and DBL lists domains separately. Each has a different cause and a different remedy, and the DNS response tells you which one you are on. Removal requests fail mostly because people request removal from the wrong list.
Written by the SieveGuard team from the checks our own free tools run. Last reviewed .
First, find out which list you are on
The lookup returns an address in 127.0.0.x, and the last octet is the answer. Every remedy below depends on it, so do this before anything else:
# reverse the octets of your IP, then query the zen zone dig +short 7.113.0.203.zen.spamhaus.org → 127.0.0.4
| Response | List | Means |
|---|---|---|
| 127.0.0.2 | SBL | Spamhaus determined this IP sent spam |
| 127.0.0.3 | CSS | Automated: snowshoe or low-reputation sending pattern |
| 127.0.0.4 – .7 | XBL | The host looks compromised — exploit, proxy or bot |
| 127.0.0.9 | SBL (DROP) | The whole allocation is considered hijacked |
| 127.0.0.10 / .11 | PBL | Not a spam listing — see below |
Skipping this step is why so many delisting attempts fail. A PBL listing and an SBL listing look identical in a checker that reports only "listed on Spamhaus", and they have nothing in common beyond the name.
PBL is not an accusation
The most misread listing of the five. PBL is a directory of IP ranges that the network operator has declared should not be sending mail directly — residential broadband, dynamic ranges, cloud instances not designated as mail servers.
Being on it means nobody registered your IP as a mail server. It does not mean you sent spam, and no reputation damage attaches to it. Two remedies:
- Do not send directly. Relay through your provider’s SMTP or an ESP. This is the right answer for almost everyone, because a residential or default cloud IP has no sending history and will struggle regardless.
- Ask the network operator to reclassify the range if you genuinely run a mail server there. Self-removal exists for some ranges; where it does not, only the operator can change it.
XBL means investigate before you request anything
XBL says the host looks compromised — an open proxy, an exploited service, or malware sending on its own. Requesting removal without finding the cause gets you relisted almost immediately, because the thing sending is still sending.
What to check, in order:
- Mail queue depth. Thousands of unexplained messages is the signature of a compromised account.
- Whether your SMTP service is accepting relay from outside your network.
- Application accounts with weak or reused credentials — a compromised contact form or CMS is a common vector.
- Outbound connections on port 25 from processes that have no business making them.
XBL removals are self-service and take effect quickly. They are also automatic once the detection stops, so if you have genuinely fixed it, waiting works too.
SBL and CSS are about your sending
SBL
Evidence-based and usually manual: spam was received from this IP, or the IP belongs to a range Spamhaus has determined is under spammer control. The removal form asks what changed. A request that does not describe a concrete fix generally does not succeed.
CSS
Automated, and the one legitimate senders hit most. It targets patterns rather than reported spam: new IPs sending volume with no history, ranges rotating across many IPs to spread volume thinly — snowshoeing — and sending to addresses that have never engaged.
A CSS listing is frequently a warmup problem rather than a spam problem: too much volume too early from an IP nobody has seen before. Fixing it means ramping properly and cleaning the list, then requesting removal. CSS also expires on its own once the pattern stops.
DBL lists your domain, and that is worse
Everything above concerns IPs. DBL lists domains, and it is the more damaging listing precisely because there is nowhere to move — changing ESP or IP takes the listing with you.
Three ways a domain gets listed, and the third surprises people:
- It sent spam, or was the visible sender of it.
- It appeared as a link inside spam sent by somebody else — an affiliate, a partner, or an attacker.
- A page on your site was compromised and is serving something malicious.
The second and third mean a domain can be listed without you sending a single message. Check whether your site is clean before assuming your mail is the cause, and see how domain listings differ from IP listings.
Requesting removal
- Confirm the sub-list from the return code. Everything else depends on it.
- Fix the cause. Non-negotiable. Relisting is fast, and repeated requests weigh against you.
- Use the Spamhaus removal centre for that specific list. It is free — Spamhaus does not charge, and anyone offering paid Spamhaus delisting is not connected to Spamhaus.
- Describe the fix concretely. "Disabled the compromised account and rotated credentials" is a case. "Please remove, we are legitimate" is not.
- Then wait, and monitor. Removal is usually hours. Relisting within days means the cause is still live.
Sources
FAQ
How do I find out which Spamhaus list I am on?+
Look at the DNS return code. A query to the zen zone answers with an address in 127.0.0.x, and the last octet names the sub-list: 2 is SBL, 3 is CSS, 4 to 7 is XBL, 10 and 11 are PBL. Every remedy depends on which one, so this is the first step.
What does a PBL listing mean?+
That your IP sits in a range the network operator declared should not send mail directly — residential broadband, dynamic ranges, undesignated cloud instances. It is not an accusation of spam and carries no reputation damage. Relay through a proper mail service instead.
Why do I keep getting relisted after removal?+
Because the cause was never fixed. Removal is a request, not a repair — if a compromised account is still sending or your list still contains traps, the detection fires again within days. Repeated requests also count against you.
Does Spamhaus charge for removal?+
No. Removal is free through the Spamhaus removal centre for every list they operate. Anyone charging for Spamhaus delisting has no connection to Spamhaus and cannot do anything you cannot do yourself.
What is a CSS listing and why did a legitimate sender get one?+
CSS is automated and targets patterns rather than reported spam: volume from an IP with no history, rotating across ranges to spread it thinly, or sending to addresses that never engage. Legitimate senders hit it by ramping too fast on a new IP.
My domain is on DBL but my IP is clean. How?+
Domains get listed for appearing as a link inside spam, not only for sending it. An affiliate promoting you badly, a compromised page on your site, or an attacker using your domain in their content will all do it. Check the site itself before assuming mail is the cause.
Check it on a real domain
Free, no signup, DNS-only. Nothing you type leaves the lookup.