How to stop spam emails with cPanel Spam Filters
Spam emails waste time and can be dangerous (fake invoices, phishing links). cPanel includes Apache SpamAssassin, which checks every incoming message and gives it a spam score. This guide shows you how to turn on the spam filters, move spam to a separate folder and fine-tune the settings.
1) Open Spam Filters
In cPanel, go to the Email section and click Spam Filters (1).
2) Turn on the filters
- Process New Emails and Mark them as Spam (1): turn it on. SpamAssassin will mark suspicious messages.
- Move New Spam to a Separate Folder (Spam Box): turn it on so spam goes to a spam folder instead of your inbox. Configure Spam Box Settings (2) lets you empty this folder.
- Automatically Delete New Spam (Auto-Delete) (3): deletes high-score spam permanently. We recommend Spam Box instead, so you can recover a real message that was marked by mistake.
- Show Additional Configurations (4): change the Spam Threshold Score (default 5; lower is stricter) and manage the Whitelist (senders never marked as spam) and Blacklist (senders always marked as spam).
Tips
- Add your important customers and suppliers to the whitelist.
- Check the spam folder once a week for real messages.
- Never open links or attachments in unexpected emails, even if the sender looks known.
Common problems
- Real messages go to spam → raise the threshold score (for example 6 or 7) or whitelist the sender.
- Still a lot of spam → lower the threshold (for example 4) and blacklist repeated senders. Using a forwarder to Gmail also forwards spam; see forwarders.
- Your own messages are marked as spam by others → that is a deliverability issue; see Email Deliverability.
Frequently asked questions
Where is the spam folder?
In Webmail and in your email program (IMAP) it appears as a folder called spam.
Do spam filters work for all addresses of the domain?
Yes, the settings apply to all email accounts in your cPanel.
Can I block one sender only?
Yes, add the address (or *@domain.com) to the Blacklist, or create an email filter.

