Note that the kind of blacklisting we’re talking about here is done at the level of the individual email.

Apache SpamAssassin is the most commonly used spam control in cPanel configurations. But the spam filtering application used in your cPanel account may differ. The instructions below should apply regardless of the spam filtering application you use.

What Does it Mean to Blacklist or Whitelist Email?

  • When you blacklist an email address, all emails sent from that address is blocked from reaching your inbox. If you receive unwanted email from an address or domain, and they don’t respond to unsubscribe requests, blacklisting will keep them out of your inbox.
  • Alternately, whitelisting an email address allows email from that address to bypass spam filters. Email from whitelisted addresses will show up in your inbox every time, regardless of the content. If you find emails in a spam or junk folder that you want to land in your inbox, whitelisting the address is the answer.

How to Blacklist and Email in cPanel

Log into your cPanel account.

In the “Email” section, click the “Spam Filters” link or icon.

cPanel email blacklist whitelist 01

Scroll down to the “Additional Configurations (For Advanced Users)” section.

Click the “Show Additional Configurations” link.

cPanel email blacklist whitelist 02

Scroll down to the “Blacklist (Emails Never Allowed)” section.

Click the “Edit Spam Blacklist Settings” link.

cPanel email blacklist whitelist 03

Click the “Add a New ‘blacklist_from’ Item” link.

cPanel email blacklist whitelist 04

When entering addresses, either to blacklist or whitelist, you can use the following options:

  • user@example.com — To whitelist a single email address.
  • *@example.com — To whitelist all of the addresses at example.com.
  • ?This email address is being protected from spambots. You need JavaScript enabled to view it. — To whitelist a single character in an address at example.com (i.e., This email address is being protected from spambots. You need JavaScript enabled to view it., but not This email address is being protected from spambots. You need JavaScript enabled to view it.).

Enter the email address that you wish to blacklist.

Click the “Update Blacklist (blacklist_from)” button.

cPanel email blacklist whitelist 05

There is a success message, but otherwise, the cPanel interface can make it appear as if nothing has changed. That can be a bit confusing at first, but if you add more items you can see how the list is presented.

cPanel email blacklist whitelist 06

To delete a blacklist item, click the “X” icon next to the item you wish to delete.

cPanel email blacklist whitelist 07

How to Whitelist Email in cPanel

Whitelisting is done using the same steps for blacklisting shown above but in the “Whitelist (Emails Always Allowed)” section.

  1. Log in to cPanel. In the “Email” section, click the “Spam Filters” link or icon.
  2. Scroll down to the “Additional Configurations (For Advanced Users)” section. Click the “Show Additional Configurations” link.
  3. Scroll down to the “Whitelist (Emails Always Allowed)” section. Click the “Edit Spam Whitelist Settings” link.
  4. Click the “Add a New ‘whitelist_from’ Item” link.
  5. Enter the email address that you wish to whitelist.
  6. Click the “Update Whitelist (whitelist_from)” button.

Keeping a Clean Inbox

Spam filtering has come a long way, but sometimes you still need the control that blacklisting and whitelisting can provide. Knowing how to blacklist or whitelist email in cPanel is a great tool to have at your disposal.

Do you use email blacklists or whitelists? If so, which do you block (or allow) more often: individual addresses or entire domains?

Reference: https://www.greengeeks.com/tutorials/how-to-blacklist-or-whitelist-email-in-cpanel/