WHM/cPanel

Enable and configure Apache SpamAssassin in cPanel

Apache SpamAssassin is an open source Apache Project its user-friendly email utility which examines incoming mail for different spam characteristics, and the source was first made widely available back in April 2001 where it was imported into Sourceforge. Apache SpamAssassin uses various network tests and spam filtering to get an overall score in order to decide whether the mail should be considered as spam or not.

Why users cant see Apache SpamAssassin in their cPanel account

there are two things you have to check on WHM to verify that Apache SpamAssassin is enabled to the cPanel users:

  1. Login to your cPanel WHM control panel as root.
  2. Navigate to Home »Server Configuration »Tweak Settings
  3. Make sure that the setting Enable Apache SpamAssassin™ spam filter is set to On “This should be default value”
  4. Click Save button.

Other cause is that may be its not enabled on Feature Manager for the packages, to do so :

  1. Login to your cPanel WHM control panel as root.
  2. Navigate to Home »Packages »Feature Manager »Feature Lists.
  3. Under Manage feature list choose the packages that not displaying Apache SpamAssassin “example,Default”. And click Edit button.
  4. From the list make sure that Apache SpamAssassin™ option is checked , you repeat the steps for each packages you want.
  5. Click Save button.

After you make sure that you check both Features List and Enable Apache SpamAssassin in Tweak Settings , your cPanel account should be able to see the SpamAssassin icon on Email section from cPanel home dashboard.

How to configure SpamAssassin in cPanel

  1. Login to your cPanel control panel.
  2. From Email Section on Home dashboard cPanel click Apache SpamAssassin icon.


  3. From Apache SpamAssassin™ page click Enable Apache SpamAssassin™ button. and you will get confirmation Apache SpamAssassin™ is now enabled message


  4. Now you can configure the Filter from the same Page :Setting Spam Auto-Delete option help you to automatically removes the emails which meet or exceed the spam score set. In order to set it,You can set the required score in a drop-down menu (from 1 to 10). The higher the number, the more conservative the setting. To enable the filter, simply click on Auto-Delete Spam button. To disable the filter, click on Disable Auto-Delete Spam button.


  5. Apache SpamAssassin Configuration:
    1. To add sender to Apache SpamAssassin Blacklist : you can fill the list of blacklist_from
    2. If SpamAssassin often blocks certain email senders and marks its mails as spam (incorrectly), it is possible to add the sender to whitelist in whitelist_from.

    Blacklist


    Whitelist


    Both whitelist and blacklist addresses accept file-glob-style patterns, so user@example.com, *@example.com or *.example.com will all work. Specifically * and ? are allowed, but all other metacharacters are not. Regular expressions are not used for security reasons.        

XsoftHost Support

Share

Recent Posts

Add Extra IP addresses to server configuration On Ubuntu 17.10 and later

Each failover IP address will need its own line in the configuration file. The configuration…

4 years ago

Create RAID Arrays with mdadm on Ubuntu

What is mdadm? The mdadm utility can be used to create and manage storage arrays…

4 years ago

How to change the maximum upload file size for PHP

There are several scenarios that you might need to increase or decrease your php maximum…

6 years ago

How to install Let’s Encrypt Plugin in WHM/cPanel

What is Let’s Encrypt? Let’s Encrypt is a free certificate authority provided by the Internet…

6 years ago

How to install python in my cPanel and add py extension

Python normally installed on all cPanel hosting server because most of Centos/red hat update system…

6 years ago

How to install and enable GUI GNOME Desktop on centos 7

Usually CentOS 7 comes in a numbers of variants, For most users, there are two…

6 years ago