BoxTrapper is the challenge-response anti-spam system that ships with cPanel. It works conceptually — unknown senders get a verification request and only deliver after confirming — but in practice it loses mail, irritates legitimate correspondents, and creates support tickets. cPanel has marked it as deprecated for years. Migration is the right move, but a clean migration means preserving each mailbox’s verified-sender list so existing relationships don’t get caught in the new filter.
What’s happening
BoxTrapper holds incoming mail from unrecognized senders in a queue, replies with a challenge, and releases mail once the sender confirms. The verified-sender list (whitelist) lives in /home/<user>/etc/<domain>/<user>/boxtrapper/whitelist per mailbox. Disabling BoxTrapper without migrating this list means every long-standing correspondent gets re-evaluated by the new filter — and likely scored higher because they’re now sending unfiltered into an unfamiliar configuration.
How to verify
Check which mailboxes have BoxTrapper enabled:
find /home/*/etc/*/boxtrapper -name "enabled" -type f 2>/dev/null | head
For each enabled mailbox, the whitelist file holds the verified senders accumulated over the life of the account — sometimes years of business relationships.
The fix
-
Inventory the verified-sender lists. For each user/domain pair:
cat /home/<user>/etc/<domain>/<user>/boxtrapper/whitelistPreserve these files. They are the safety net for the migration.
-
Set up replacement filtering before disabling BoxTrapper. Two reasonable replacements: greylisting (WHM > Mail > Greylisting) which delays first-time senders for 5–15 minutes, and per-user SpamAssassin tuning (per the per-domain tuning KB) for mailboxes that get heavy unwanted mail.
-
Import the verified-sender lists as SpamAssassin whitelists. For each address from the BoxTrapper whitelist, add
whitelist_from sender@example.comto that user’s/home/<user>/.spamassassin/user_prefs. This preserves the trust accumulated over years. -
Disable BoxTrapper per mailbox via the user’s cPanel UI or by removing the
enabledfile. Wait 48 hours and monitor the user’s spam folder — they may need adjustments to the threshold or further whitelist entries. -
Document the change for the user. Tell them what to expect: greylisting will delay some first-time mail by a few minutes; some legitimate senders may need to be added to their address book or whitelisted manually. The trade-off is that they will not lose mail anymore.
For environments where multiple users depend on BoxTrapper and the migration has to happen without losing senders, Stack Harbor handles the cutover as part of managed cPanel operations.