Skip to content

Whitelisting customer support workflow mail in cPanel filters

Helpdesk notifications from Zendesk, Freshdesk or HubSpot keep landing in junk on cPanel mailboxes. Here is how to whitelist them without weakening anti-spam.

A support agent reports they missed a Zendesk ticket reply because it landed in junk. Or the ops team’s PagerDuty escalation summaries are filtered. Or HubSpot deal notifications hit one mailbox and not another. The mail is legitimate, the platform is well-known, and yet cPanel’s per-user filters or rspamd are tagging it. The right fix is targeted whitelisting at the correct layer — not a blanket bypass.

What’s happening

cPanel mail flows through filters in three places: server-wide (rspamd, BoxTrapper, Exim ACLs), per-account, and per-user. A “whitelist” applied at the wrong layer either does nothing (rspamd rejected upstream) or weakens the whole server (it bypasses everyone’s filtering, not one mailbox). Bypassing the rspamd score is also different from whitelisting a specific authenticated sender.

Support platforms usually send from a stable set of authenticated subdomains (*.zendesk.com, mail.hubspot.com, *.pagerduty.com). They sign with DKIM and align under DMARC. That alignment is what makes them safely whitelistable.

How to verify

First, confirm where the message is being filtered. Pull a recent missed support mail from Exim’s mainlog:

grep "from=.*zendesk" /var/log/exim_mainlog | tail -5
grep "rspamd" /var/log/exim_mainlog | grep -i zendesk | tail

If rspamd is adding score, the log shows X-Spam-Score. If a cPanel filter is moving it, you will see the destination directory (Junk/INBOX). Check the user’s filter rules:

ls /home/<account>/etc/<domain>/<user>/maildirsize
cat /home/<account>/etc/<domain>/<user>/.maildirfilter 2>/dev/null

In cPanel UI, the same rules live under Email > Email Filters.

The fix

  1. For platform-wide trust, whitelist at rspamd using authenticated identity, not just the From: domain string. Match on DKIM-aligned domain, so a forged From: cannot piggyback:

    # /etc/rspamd/local.d/multimap.conf
    SUPPORT_WHITELIST {
      type = "dkim_domain";
      map = "/etc/rspamd/whitelist.support_platforms";
      score = -6.0;
    }

    The map file lists zendesk.com, hubspot.com, pagerduty.com, etc. — domains you have an actual business relationship with.

  2. For one mailbox only, add an Email Filter at the User Level in cPanel: condition From: contains @support.example-platform.com, action Deliver to folder: INBOX. Do this at user level so it does not affect other mailboxes on the same domain.

  3. Do not whitelist by IP. Support platforms rotate sending IPs constantly. DKIM domain is stable; IPs are not.

  4. Review the whitelist quarterly. A platform you no longer use should not still have a -6.0 score override.

If you find yourself rebuilding this for every new client mailbox, the per-mailbox tax is what an MSP relationship absorbs.


Stack Harbor handles cPanel filter standardisation across mailboxes and teams as part of Deployment Management. Get in touch if your inbox rules are different on every account.