How to enable basic spam protection in cPanel? Print

  • antispam cpanel, cpanel spamassassin
  • 6

 

Enabling Default Antispam Protection in cPanel

The default antispam protection in cPanel is based on Apache SpamAssassin, a widely used open-source product. For advanced and higher quality protection, we recommend using our Libraesva SaaS solution.

 

Step-by-step guide

  1. Log in to your account via our Client Area.
  2. Select your Linux Web Hosting service.
  3. From the left-hand menu, click on cPanel.

    cPanel access
  4. Click on Control Panel Access and then Click here to access the control panel.


cPanel screen

Once inside cPanel, go to the Email section and select Apache SpamAssassin. You will see a menu like this:


SpamAssassin filters

To enable antispam protection, click the button Process New Emails and Mark them as Spam.

How SpamAssassin works

Apache SpamAssassin evaluates each incoming email and assigns a score:

  • 1 = unlikely spam
  • 10 = very likely spam

You can enable the Auto-delete option to automatically remove emails that exceed a defined score threshold (e.g. 6). For example:

  • Email with score ≥ 6 → automatically deleted
  • Email with score < 6 → delivered to inbox

Was this answer helpful?

« Back