Skip to content
Personal hosting. A great start.What our customers say Read our Google reviews
Client portal ↗Log in ↗

Email

How do I optimise my spam filter in cPanel?

3 min read

Optimizing your spam filter helps to block unwanted emails (spam) before they reach you inbox. In cPanel, you can easily set and customize spam filters to better protect your mailbox from unwanted messages. Follow the steps below to optimize your spam filter:

Step 1: Log in to your cPanel

  • Go to the login page of your cPanel (for example: yourwebsite.nl/cpanel).
  • Enter your username and password and click Login.

Step 2: Go to the email section

  • Scroll down to the area Email in your cPanel dashboard.
  • Click SpamAssassinSpamAssassin is the built-in spam filter in cPanel that you can configure.

Step 3: Enable SpamAssassin

  • If SpamAssassin is not yet enabled, click on Enable to activate the spam filter.
  • When SpamAssassin is enabled, incoming emails are automatically scanned for suspicious features of spam.

Step 4: Adjust the spam threshold

  • Bottom SpamAssassin configuration you see an option to the Junk threshold The Commission's proposal is based on the following principles:
  • This determines how strict SpamAssassin should be when marking a message as spam.
    • Low: Less strict, with potentially more legitimate emails marked as spam.
    • Average: A balance between security and false positives.
    • High: Stricter filter settings that block most spam, but it can also block some legitimate emails.
  • Choose the desired threshold setting depending on how strict you want to set the spam filter.

Step 5: Check and configure the Junk Trap folder

  • SpamAssassin can place suspicious emails in a special folder, often called Junk or Spam.
  • Go to the settings of your email client (such as Roundcube or Webmail) to check the junk folder.
  • If a legitimate email is wrongly marked as spam, you can mark the email as Not Junk to improve the filter.

Step 6: Use additional settings and rules

  • SpamAssassin offers advanced configuration options that you can use to set up specific spam filters, such as blocking email addresses or domains that you often experience as spam.
  • Click SpamAssassin configuration to manage advanced settings such as Header Subject Rules, Blacklistsand Whitelists.

Step 7: Test the Junk Filter Settings

  • After adjusting the settings, you can send some test emails to check that the spam filter is working properly.
  • You can also use an online spam test tool to test the effectiveness of your filter.

Step 8: Regularly check the spam folder

  • Regularly check the Spam- or Junk-map to make sure there are no legitimate e-mails in it.
  • Add reliable senders to you Whitelist to prevent their e-mails from being falsely marked as spam.

By following these steps, you can effectively optimize your spam filter in cPanel and reduce the risk of unwanted email.

Do you need help configuring your spam filter or are you not coming out somewhere? Please feel free to contact our support department.

Did this guide help you?

Your feedback helps us improve the knowledge base.

0 people found this article helpful.

Still need help?

Tell us which step you are stuck on and mention this guide. Never send passwords.

WhatsAppCookie settings

You can always change your preferences later via the footer.

Privacy policy

Personal help with your plans

How can we help you?

Choose a topic. We'll help you find the right solution.
Please don't include passwords, payment details or other login credentials.