Cpanel / WHM Tutorials

How to Enable the SpamAssassin Spam Filter in cPanel

How to Enable the SpamAssassin Spam Filter in cPanel

Introduction

How to Enable the SpamAssassin Spam Filter in cPanel

If you are having problems with email spam, whether it be the occasional promotional mail, or 100’s or even thousands of emails spamming your inbox each hourEmail Spam Protection can help.

SpamAssassin is an open source Apache Project and is located in cPanel under the Spam Filter settings. The source was first made widely available back in April 2001. If you are more technically-minded and want to see how it has evolved over the years, you can see a full change history here.

It works by using a variety of spam detection methods, including:

  • Online Databases (DCC, Pyzor, Razor2)
  • Body phrase tests
  • Header tests
  • Character sets and locales

These spam detection methods are applied to email headers (an excellent guide to finding email headers) and content to classify the email using various statistical methods. They are designed to block unwanted email messages before they reach your inbox and evolve to combat the changing ways spammers get to your inbox.

It is a far cry from the keyword based spam detection systems used prior.

I will first go through a short cPanel tutorial showing how to enable the Spam Filter and then go through the different SpamAssassin configuration options.

How to Enable the SpamAssassin Spam Filter in cPanel

1. In the cPanel Dashboard scroll down to the ‘Email’ Section.

  • I am assuming you have already logged in to cPanel, but if you haven’t yet, please do so now.
  • Scroll down to the “Email” section of the administrative dashboard.

2. Click the ‘Spam Filters’ link.

As of version 84 of cPanel, Apache SpamAssassin was renamed to “Spam Filters” in the dashboard.

  • Click on “Spam Filters”

3. Enable the Spam Filters

  • Turn on the Spam Filters by toggling the “Process New Emails and Mark them as Spam” option at the top of the page

4. SpamAssassin is now active

If successful, you will see a green box appear confirming the following:

How to Enable the SpamAssassin Spam Filter in cPanel

At this stage, all you have done is enable the Spam Filter. When emails are received by you, messages with a score of 5 (default score) will be marked as spam.

If the email is found to be spam, the word ***SPAM*** will appear at the start of the subject field, as shown in the screenshot:

How to Enable the SpamAssassin Spam Filter in cPanel

Unless you configure SpamAssassin to auto-delete or move the spam to the junk folder (I’ll cover how to do this shortly), No other actions will occur, and the message will remain in your inbox.

About the author

Avatar

jon snow

Jon is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, and currently a content creator for ERRORHAT who loves working with computers and strongly believes in sharing knowledge.

Add Comment

Click here to post a comment