Guide for Configuring and Managing Spam Filters in cPanel.
In this article, you will learn how to enable spam filters, adjust the spam score, and set advanced options to effectively manage spam. The instructions are presented step-by-step, with screenshots for quick and precise setup.
Step 1: Accessing the "Spam Filters" Section in cPanel
To begin, log in to cPanel and scroll to the Email section. Here, select the Spam Filters option to access filtering settings.
Step 2: Enabling Spam Filters
In the "Spam Filters" section, enable the option "Process new emails and mark them as spam" to allow Apache SpamAssassin to filter spam messages. Once activated, a green confirmation will appear indicating the success of this action.
Step 3: Setting the Spam Score Threshold
SpamAssassin evaluates messages on a scale from 1 to 10 to determine their likelihood of being spam. To adjust the score threshold:
- Score 1: Aggressive filtering (many legitimate emails may be flagged)
- Score 5: Default value, recommended for most cases
- Score 10: Passive filtering (only obvious spam will be detected)
Step 4: Moving Spam to a Separate Folder (Spam Box)
To organize spam messages, enable the option "Move new spam to a separate folder (Spam Box)". This option automatically moves messages marked as spam to a dedicated folder so you can check and manage them separately.
Step 5: Configuring the Whitelist and Blacklist
cPanel allows you to create a Whitelist for emails and domains you always want to accept and a Blacklist to block certain addresses. To add new addresses to these lists, access the advanced settings.
Tips for Optimal SpamAssassin Configuration
SpamAssassin offers advanced options that allow you to adjust spam filtering to meet your individual needs. Keep the default spam score if detection works correctly, and avoid enabling the auto-delete option to prevent the loss of important messages.