HomeCpanelHow to Configure Spam Filters in cPanel

How to Configure Spam Filters in cPanel

Spam emails clutter your inbox and can possibly compromise the security of your email communications. cPanel control panel offers robust spam filtering capabilities that can combat this issue. 

In the following sections, we will discuss the steps to configure spam filters in cPanel. 

Steps to access cPanel’s spam filters 

To get started, follow these simple steps:

  1. Start by logging in to your cPanel account.
  2.  Navigate to the “Email” section and select “Spam Filters.”

Here you can configure SpamAssassin which is a tool in cPanel to filter out unwanted mail.

Steps to configure SpamAssassin

When it comes to configuring Apache SpamAssassin, here’s what you need to do:

  1. Click “Spam Filters” from the email section.
  2. Enable Apache SpamAssassin by clicking the “Enable Apache SpamAssassin” button.
  3. Customize the settings and additional options according to your specific requirements.
  4. Save your changes by clicking the “Save” button.



Another feature to throw out spam is configuring BoxTrapper. This function uses challenge-response verification to remove spam from your email. When a BoxTrapper-enabled account receives an email, BoxTrapper immediately replies with a verification email. The mail will only reach your inbox once the sender has been verified by BoxTrapper.

Steps to configure BoxTrapper

To get started, follow these simple steps:

  1. In the “Email” section, click on “BoxTrapper.”
  2. Select the “Manage” option for the desired email account.
  3. Customize the configuration settings, including email verification, whitelist, blacklist, and more.
  4. Apply your changes by clicking the “Save” button.



Email filtering allows you to establish rules for incoming emails, enabling you to sort and categorize them based on specific conditions and keywords you define.

Steps to configure email filtering

When it comes to configuring email filtering, the following steps will guide you:

  1. Under the “Email” section, click on “Email Filters.”
  2. Choose “Manage Filters” for the desired email account you need to set.
  3. Create a new filter by clicking “Create a New Filter.”
  4. Define filter rules by specifying conditions such as “From,” “Subject,” or “Body.”
  5. Select the appropriate action for filtered emails, such as “Discard” or “Redirect to.”
  6. Save your filter by clicking “Create” or “Save.”


Managing Spam Box and Whitelist/Blacklist:

To Manage the Spam Box:

If you need to manage your Spam Box, follow these steps:

  1. Navigate back to “Spam Filters.”
  2. Adjust settings such as automatic deletion or manual review according to your preferences.
Manage the Spam Box to auto delete or manually delete mails


If Apache SpamAssassin incorrectly classifies an email address as spam or non-spam, you can whitelist or blacklist those email addresses from within the Spam Filters window.

Steps to configure whitelist/blacklist mails

When it comes to managing your Whitelist and Blacklist, consider the following steps:

  1. Select “Show Additional Configurations” within the same window.
  2. Choose “Edit Spam Whitelist Settings” to add an email address to your whitelist or select “Edit Spam Blacklist Settings” to add an email address to your blacklist.


By configuring these spam filters in cPanel you can keep your communication secure and have a clutter-free inbox.

Scroll to Top