What is SpamAssassin, spam filter

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.

Spam Filters en la sección Correo electrónico de cPanel

Enabling the filter

  1. Log in to cPanel and open Email → Spam Filters.
  2. Enable processing of new emails. You can also disable it from there.

Activar o desactivar Spam Filters

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.

Configuraciones adicionales de Spam Filters

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.

Lista blanca de Spam Filters

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.

Lista negra de Spam Filters

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.

  • activar filtro spam cpanel, correo con spam, spamassassin, control spam
  • 20 Users Found This Useful
Was this answer helpful?

Related Articles

How to delete messages using WebMail

This article explains how to view and delete messages in Roundcube, and how to delete them from...

Webmail - Unable to access my messages

This article explains why Webmail might not let you view or save messages, and how to check your...

How to save copies of sent messages using Webmail

This article explains how to save a copy of sent messages in Roundcube, the hosting's current...

Catch-all mailbox (Default Address)

This article explains what a catch-all mailbox is and how to enable or disable it using cPanel's...

How to enable SpamAssassin

This article explains how to enable the spam filter in cPanel so that new messages with a high...