Warning: session_start(): open(/var/cpanel/php/sessions/alt-php74/sess_caed95c0c53bff71ffc496f6a15533e5, O_RDWR) failed: No such file or directory (2) in /home/xsofthost/public_html/help/wp-content/plugins/accelerated-mobile-pages/includes/redirect.php on line 358

Warning: session_start(): Failed to read session data: files (path: /var/cpanel/php/sessions/alt-php74) in /home/xsofthost/public_html/help/wp-content/plugins/accelerated-mobile-pages/includes/redirect.php on line 358
Enable And Configure Apache SpamAssassin In cPanel via Tweak Settings

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.


    cPanel Apache SpamAssassin

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


    cPanel Enable Apache SpamAssassin

  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.


    cPanel Filters Apache SpamAssassin

  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


    cPanel Blacklist Apache SpamAssassin

    Whitelist


    cPanel Whitelist Apache SpamAssassin

    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.        

Share on facebook
Share on twitter
Share on linkedin
Share on telegram
Share on whatsapp

Related Posts