Set Up Spam Filter for Email Hosting: cPanel
This article explains how to configure spam filters for Email Hosting in cPanel. Spam filters help identify and manage unwanted messages by scanning incoming emails based on criteria such as headers, content, domain, and sender IP address.
This guide applies to email services included with Linux Hosting, Website Builder, and eCommerce Builder plans.
To efficiently filter Spam, SpamAssassin scans the following parts of every incoming email:
- Header
- Text or Main Message
- HTML Coding
- Domain
- Sender's IP Address
How To Enable Spam Filter in cPanel
By default, Spam Filter is already enabled, but you can follow the next steps to double check.
- Log in to your cPanel.
- Go to Email section and click Spam Filters.
- Toggle the Process New Emails and Mark them as Spam.
Configure Auto-Delete Spam Messages
The spam filter threshold is set to 5 by default. This means if the email is scored with a spam score of 5 and above, the system will flag it as suspicious. You'll have the option to deliver it to your inbox with a SPAM mark, or delete these messages automatically. If you want marked messages automatically, just toggle the Automatically Delete New Spam (Auto-Delete) option.
Advanced Settings
Enabling Spam Filters will also give you additional options to configure. Go to the Additional Configurations (For Advanced Users) section and click the Show Additional Configuration dropdown to see the advanced settings.