When recipient servers start refusing your outbound mail with 554 5.7.1 or a 550 that names a blocklist, the destination has decided your sending IP (or domain) is untrustworthy and is rejecting at the SMTP gate before the message is even read. The bounce text usually names the list and a lookup URL — that is the most valuable line in the whole failure, because the fix depends entirely on which list and why you were added. The job is to read the rejection precisely, confirm the listing, fix the underlying cause, and then request delisting through that specific list’s process.
What’s happening
Most receiving mail servers consult one or more DNS blocklists (DNSBLs) during the SMTP conversation. They take the connecting IP, reverse it, append the blocklist’s zone (for example zen.spamhaus.org), and do a DNS lookup; a hit means “reject this connection.” When your cPanel server’s shared or dedicated outbound IP is listed, every recipient that consults that list returns a 554/550 and your mail bounces. The bounce typically includes the list name and a removal URL, e.g. blocked using zen.spamhaus.org; https://www.spamhaus.org/query/ip/203.0.113.10.
You get listed for a reason, and delisting without fixing the cause just gets you re-listed. The common causes on a cPanel box: a compromised account or script sending spam through Exim (the single biggest one on shared hosting), missing or mismatched reverse DNS (PTR) that trips policy-based lists like Spamhaus PBL, a sudden volume spike from a marketing blast, weak SPF/DKIM so your legitimate mail looks forged, or a neighbor on a shared IP who got the whole IP listed. Different lists have different temperaments: PBL is about whether the IP should be sending mail at all, SBL/XBL are about observed spam and infections, and reputation lists like Barracuda or Microsoft SNDS reflect recipient complaints. Each has its own removal path.
How to verify
Read the exact rejection first — it usually names the list and IP.
# Pull the rejection text recipients are returning
exigrep '554\|550' /var/log/exim_mainlog | grep -i 'block\|listed\|spamhaus\|barracuda\|rbl' | tail -20
# What is this server's outbound IP?
curl -s https://api.ipify.org; echo
hostname -i
Confirm the listing directly with a DNS lookup against the named list (reverse the octets):
# Example for IP 203.0.113.10 against Spamhaus Zen:
dig +short 10.113.0.203.zen.spamhaus.org
# A 127.0.0.x answer = listed. The last octet tells you which sub-list (PBL/SBL/XBL).
# Check a few common lists at once (reverse your own IP):
for z in zen.spamhaus.org b.barracudacentral.org bl.spamcop.net; do \
echo -n "$z: "; dig +short 10.113.0.203.$z; echo; done
Check reverse DNS, a frequent listing trigger:
# PTR must exist and ideally match the mail hostname
dig +short -x 203.0.113.10
Before requesting delisting, look for the cause — especially a compromised sender flooding the queue:
# Top envelope senders in the queue (a spam flood shows here)
exiqgrep -i | wc -l # total queued
exim -bp | exiqsumm | head -20 # queue summary by domain
grep "cwd=/home" /var/log/exim_mainlog | awk '{for(i=1;i<=NF;i++)if($i~/cwd=/)print $i}' | sort | uniq -c | sort -rn | head
The fix
-
Find and stop the cause before delisting — delisting a still-spamming server is wasted effort. If the queue is full of outbound spam, identify the compromised account or script (the
cwd=and authenticated-sender clues above), suspend it, and clean it. Only request removal once the source is stopped, or you will be re-listed within hours. -
Fix reverse DNS if a policy list flagged you — if the bounce names a PBL-style list and
dig -xshows no PTR or a generic one, set a proper PTR with your IP provider (the upstream/datacenter owns rDNS, not cPanel) so it matches your mail hostname, and ensure that hostname has a matching forward A record. -
Delist through the named list’s own process — use the URL in the bounce. Spamhaus, Barracuda, SpamCop, and Microsoft each have their own removal form; submit the IP there. Stack Harbor has step-by-step runbooks for the common ones — Spamhaus PBL/SBL/XBL and the Barracuda BRBL each have a dedicated removal procedure.
-
Tighten SPF and DKIM so your mail is not seen as forged — use cPanel » Email » Email Deliverability to confirm SPF authorizes this server and DKIM is published. Mail that fails authentication accrues complaints that feed reputation lists; fixing it lowers the chance of re-listing.
-
Move off a poisoned shared IP — if the listing is the fault of a neighbor on a shared outbound IP and you cannot get the IP clean, assign the account a dedicated outbound IP in WHM » IP Functions / Tweak Settings (or via per-account outbound IP routing) so your reputation is your own.
-
Throttle outbound to avoid volume-triggered listings — if a blast caused the listing, set sane per-account and per-domain hourly limits in WHM » Tweak Settings so a single campaign cannot spike the IP into a reputation list again.
-
Warm a new IP gradually if you switch — if you move to a fresh dedicated IP to escape a listing, ramp volume up slowly rather than blasting from a cold IP, which itself looks suspicious to reputation systems.
Once the cause is fixed and the delisting request is in, re-run the dig lookup against that list until it returns nothing, then send a test to the previously rejecting domain and confirm a 2.0.0 acceptance in exim_mainlog. A blocklist rejection is the receiving side acting on your reputation — the durable fix is always the cause first, the removal second. Stack Harbor handles compromise cleanup and delisting under cPanel server management — start a conversation.