Spam filtering
How to enable and tune SpamAssassin, filters and sender blocking.
cPanel offers several tools for reducing unwanted mail. The availability of individual tools may depend on your plan.
SpamAssassin#
- In the Email section open Spam Filters.
- Enable Process New Emails and Mark them as Spam.
- Optionally enable Automatically Delete New Spam and set the Spam Threshold Score. A lower threshold is stricter.
- Save the changes by clicking Update Spam Threshold (or the corresponding button).
Messages marked as spam get a header and you can move them to a separate folder with a filter.
Filters and blocking senders#
- Email Filters (in the Email section): create a rule, e.g. if From contains a specific address, Discard or move to a folder.
- Global Email Filters apply to all addresses in the account.
- Blocked senders can also be added in a filter rule (From equals then Discard Message).
What really helps#
- Mark a message as spam in webmail or your program, instead of just deleting it.
- Do not publish your email address in plain text on your site.
- Check SPF, DKIM and DMARC, because correct records protect your domain from spoofing.
Was this article helpful?
Thanks for your feedback! Need help? Open a ticket.
Related articles
SPF, DKIM and DMARCWhat these records are, how to check they are enabled and how to keep your mail out of spam.Mailbox quotaHow to check mailbox usage, free up space and change an address's quota.Email not arriving or not sendingA checklist for the most common causes: quota, MX records, password, program settings and spam.Create an email addressHow to create an address like name@yourdomain.com in cPanel and set its password.
