Skip to content

Checking if your cPanel mail server is on a blacklist

Mail from your cPanel server is being rejected or sent to spam by some providers. Here is how to confirm a blacklist listing and what to do next.

A handful of recipients report your mail is going to spam, or you start seeing bounces from one provider while everything else is fine. Before you change anything in cPanel, you need to know whether the sending IP, the helo hostname, or the sending domain is on a real-time blocklist — because the fix is different for each.

What’s happening

Receiving mail servers consult DNSBL and URIBL lists during the SMTP transaction. If the connecting IP, the reverse DNS of the IP, or a URL inside the message body is listed, the receiver either rejects at RCPT TO with a 5xx, accepts and quarantines, or silently drops to a junk folder. cPanel’s Exim does not warn you about any of this — it logs the remote 5xx response and moves on. From inside the server, mail looks like it left successfully.

The listings that matter most for transactional mail from a shared cPanel host are Spamhaus (SBL, CSS, XBL, PBL), Spamhaus DBL for the sending domain, and SORBS. Provider-internal reputation (Microsoft SNDS, Google Postmaster Tools) sits on top of that and behaves like a private blacklist.

How to verify

Identify the actual outgoing IP first — on a shared server it is not always the main IP:

grep -E "delivered|=>" /var/log/exim_mainlog | grep your-domain.com | head
exim -bP | grep -i smtp_active_hostname

Then check the IP against the major lists:

for bl in zen.spamhaus.org bl.spamcop.net b.barracudacentral.org; do
  echo "$bl: $(dig +short ${REVERSED_IP}.${bl})"
done

A returned 127.0.0.x is a listing. Cross-check the sending domain against dbl.spamhaus.org the same way. Finally, check mxtoolbox.com/blacklists.aspx for the IP and the helo hostname — it covers several lists in one pass.

The fix

If the IP is listed on Spamhaus SBL or CSS, the listing usually points to a specific abuse event. Read the listing page, identify the originating cPanel account (Exim’s cwd= field in the log line names it), suspend outbound for that account, rotate any compromised passwords, and only then request delisting. Delisting before remediation triggers a faster relist with a longer cooldown. If the IP is on PBL, your reverse DNS does not match a legitimate mail-server pattern — fix rDNS first. If the sending domain is on DBL, the listing is about content or a hacked page on the site, not the mail server itself.

If you are on a shared cPanel server and the listing is from another tenant, this is what a managed NOC relationship solves cleanly.


Stack Harbor handles cPanel mail reputation as part of Deployment Management. If your team is firefighting deliverability, book a review.