How to Configure Apache SpamAssasin in cPanel

Apache SpamAssasin powers the email spam filters in cPanel and comes with any Ch-center Shared or Business Hosting plan. SpamAssasin allows several configuration options so that you can determine how much spam is received, and what happens to it once received.  With SpamAssasin, the Spam Threshhold Score, auto-delete options, blacklisting, whitelisting, and custom spam score settings can each be configured.

Determine Spam Threshold Score

Navigate to the Spam Threshold Score link.

Set your preferred Spam Threshold Score, from aggressive (1) to passive (10).  A Spam Threshold Score of 1 may block some messages which are not truly spam. A score of 10 may allow actual spam through, only blocking obvious spam.

 

Automatically Delete New Spam (Auto-Delete)

When enabled, the auto-delete feature will permanently delete any messages with a spam score equal to or higher than the chosen Spam Threshold Score.

 

Blacklisting

Select “Show Additional Configurations”.

Select “Edit Spam Blacklist Settings”.

Add a new email address to be blacklisted. You may use * and ? as wildcards when adding to your blacklist list. * will represent any email accounts for a domain. ? will represent a single character in an email address.

Example:

  • *@example.com will represent user@example.com, admin@example.com, or any other email account for example.com
  • ?ser@example.com will represent user@example.com, but not xuser@example.com

After adding to your blacklist, click the “Update Blacklist (blacklist_from)” button.

 

Whitelisting

A need may arise to whitelist an email address, if a known sender’s mail commonly goes to the spam folder. To do this, select “Show Additional Configurations”.

Select “Edit Spam Whitelist Settings”

Add a new email address to be whitelisted. You may use * and ? as wildcards when adding to your whitelist list. * will represent any email accounts for a domain. ? will represent a single character in an email address.

Example:

  • *@example.com will represent user@example.com, admin@example.com, or any other email account for example.com
  • ?ser@example.com will represent user@example.com, but not xuser@example.com

After adding to your whitelist, click the “Update Whitelist (whitelist_from)” button.

 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

cPanel: Adding Email to Android

Steps To Add Your cPanel Email To Your Android Step 1:  Find your Email Application icon and...

cPanel: Adding Email To iPhone

Steps To Add Your cPanel Webmail To Your iPhone Step 1:  Locate Settings on your iPhone...

Default files and directories in cPanel

A fresh new cPanel hosting account will include quite a few files and directories by default....

How do I Add Email Accounts in cPanel (6 Steps)

At Hostwinds, all of our services that use cPanel will include an email service to be used with...

How To Change Your Webmail Password In cPanel

After you create your email within cPanel, there may come a time where you may want to change...