This article explains how to prevent unwanted email using Spam Filters in cPanel. Unwanted emails, also known as spam, can confuse your inbox and pose security risks through malicious links and attachments. Thankfully, cPanel offers the Spam Filters tool, powered by Apache SpamAssassin™, to help identify and reduce spam.
What are Spam Filters?
Spam Filters examine all incoming emails and allot a spam score to every message. Depending on this score, you can:
- Route spam to a particular folder
- Automatically remove spam messages (not suggested)
- Whitelist trusted senders
- Blacklist known spammers
Note: Automatically removing spam is not suggested, as it may result in the loss of genuine emails. Instead, redirect spam to a dedicated folder.
Enabling Spam Filters
To activate Spam Filters in cPanel:
- Log in to cPanel.
- Navigate to the Email section and click Spam Filters:
- Click “Process New Emails and Mark them as Spam.”
- (Optional) To automatically delete spam:
Configuring Advanced Spam Filter Settings
To fine-tune how Spam Filters handle emails:
- Log in to cPanel and open the Spam Filters tool.
- Click “Show Additional Configurations.”
- Add to Whitelist (Trusted Senders):
- Add to Blacklist (Known Spammers):
- Click “Edit Spam Blacklist Settings.”
- Add email addresses or domains.
- Click “Update Blacklist.”
- Customize Spam Score Settings:
- Click “Configure Calculated Spam Score Settings.”
- Click “Add a New ‘scores’ item.”
- Select the test and set its score.
- Recommended Custom Scores:
URIBL_DBL_SPAM 10.0 URIBL_WS_SURBL 10.0 URIBL_BLACK 10.0 T_DKIM_INVALID 2.0 RDNS_NONE 1.8
- To reset to default values:
URIBL_DBL_SPAM 1.7 URIBL_WS_SURBL 1.608 URIBL_BLACK 1.725 T_DKIM_INVALID 0 RDNS_NONE 0.7
- Click “Update Scoring Options” to save your changes.
Disabling Spam Filters
If you are having problems receiving legitimate emails and suspect they are being filtered as spam, you can disable Spam Filters:
- Log in to cPanel.
- Open Spam Filters from the Email section.
- Toggle the switch for “Process New Emails and Mark them as Spam” to disable the feature.
Contact our support staff at any difficult moment if you need extra assistance setting up your email filters.
Filtered the spam? Now learn How to check SpamExperts SPAM filter logs