SpamAssassin is the automated email filter included with cPanel. It checks the header, body, and content of each new message and assigns it a score. If that score reaches the threshold, the server marks the message as spam.
What is it used for?
It is used to separate unwanted email from the rest. The filter does not decide with absolute certainty: a high score indicates that the message looks like spam. With default settings, the threshold is 5. A lower number marks more emails, including some legitimate ones. A higher number lets more spam through.
- It only analyzes email received after it has been enabled.
- It updates the header of messages that exceed the threshold.
- It allows you to always allow or block a sender.
Access: log in to cPanel from the client portal → Log in to cPanel, or at https://yourdomain.com/cpanel. Then go to Email → Spam Filters.

Enabling the filter
- Log in to cPanel and open Email → Spam Filters.
- Enable processing of new emails. You can also disable it from there.

With the filter enabled, the server updates the header of each new message whose score exceeds the threshold of 5. Previously received email is not re-analyzed.
To prevent marked messages from remaining in your inbox, enable the option that moves new spam to a separate folder (Spam Box). That folder still consumes disk space: you should empty it periodically.
Important: auto-delete permanently deletes the message and it cannot be recovered. Keep it disabled. Marking it and moving it to the spam folder is sufficient.
Threshold and lists
The lists and score settings can be found under additional configurations.

It is recommended to leave the spam score at 5. Only change it if you are already familiar with how SpamAssassin scores messages. If you lower the threshold, the filter will mark more email.
Whitelist (Emails Always Allowed)
This list always allows an email address or domain, even if the score is high. Addresses that you mark as Not spam in Roundcube also appear here. You can mark multiple messages at once.

Blacklist (Emails Never Allowed)
This list blocks an email address or domain. Addresses that you mark as Spam in Roundcube also appear here. You can also mark multiple messages at once.

Important: the whitelist and blacklist apply to all email accounts under the service, including addon domains. If you block a sender, it will stop arriving in all of them.
Details on how SpamAssassin calculates scores can be found at spamassassin.apache.org.
Common issues
- The message remains in the inbox with the spam header: the filter marked it but did not move it. Enable the spam folder (Spam Box).
- A legitimate email is marked: add it to Whitelist (Emails Always Allowed) or increase the threshold. The default value is 5.
- Spam from a specific sender still arrives: add it to Blacklist (Emails Never Allowed). The filter only acts on new email.
- I blocked an address for a single account and it affected the rest: both lists apply to the entire account, not just a single mailbox.
- I marked Not spam or Spam in Roundcube and I do not see it in cPanel: check the whitelist or blacklist. The address is added there.
If the filter does not mark new email or a list is not saved, open a ticket from the client portal or contact us via the website's live chat.
