CodeSteps

Python, C, C++, C#, PowerShell, Android, Visual C++, Java ...

How to enable SpamAssassin using cPanel?

SpamAssassin is an automated email filtering system used for email spam filtering based on a large set of content-matching rules. SpamAssassin uses a wide variety of local and network tests to identify spam signatures.

Follow the below steps to enable SpamAssassin using cPanel.

Step (1). Log in to your website’s control panel (cPanel).

Step (2). Look for the SpamAssassin icon, which is usually grouped under the MAIL section.

cPanel - SpamAssassin icon
cPanel – SpamAssassin icon

Step (3). Click on the SpamAssassin icon. It will open the SpamAssassin configuration page.

cPanel - SpamAssassin configuration page
cPanel – SpamAssassin configuration page

Step (4). Click on Enable SpamAssassin button to enable SpamAssassin. Once you click on Enable SpamAssassin button will turn into Disable SpamAssassin button to allow you to disable SpamAssassin whenever you want by clicking on it.

Once the SpamAssassin is enabled, all the emails are scanned for spam and SpamAssassin gives a score based on the content matching rules.

Step (5). Under the Filters section, it allows to auto-delete the messages which are marked as spam.

  • Click on the Auto-Delete Spam button to enable this feature.
  • Once you enable it, SpamAssassin will auto-delete the messages marked as spam whose score value is 5 (by default) or higher. You can adjust the default score value 5, by selecting the score value from the combo box.

You can disable the Auto-Delete Spam feature, by clicking on Disable Auto-Delete Spam button.

Step (6). The Spam Box feature is useful to deliver all the messages which are marked as spam into a separate mail folder named “spam”.

  • Click on Enable Spam Box button which is under the Spam Box section to enable the Spam Box feature. Once you click on Enable Spam Box button, it will turn into Disable Spam Box to allow you to disable the Spam Box feature by clicking on it.
  • It is your responsibility to periodically check the “spam” folder and clean up.
  • By clicking on the Clear Spam Box button, it will empty the “spam” folder.

Step (7). Click on the “Configure SpamAssassin” button to configure advanced settings for SpamAssassin.

cPanel - SpamAssassin - Advanced configuration settings
cPanel – SpamAssassin – Advanced configuration settings
  • You can provide the addresses into blacklist_from list to deny or blacklist to receive messages from these addresses. Usually, you can specify the addresses that deliver spam messages but are incorrectly tagged as non-spam.
  • Provide the required score value in the required_score field to set the number of hits required before a message is considered as a spam message.
    • 5 is the default value. 1 is the most strict and 10 is the least strict.
  • You can re-score the BAYES rules by specifying entries into score fields. Don’t enter any values in these fields until you are aware of how SpamAssassin learning functions will work.
  • whitelist_from list allows providing addresses that are incorrectly tagged as spam.

Both whitelist_from and blacklist_from lists support wildcards (“*” and “?”) in their addresses i.e., example@somedoaminname.com, *@somedomainname.com, *.somedomainname.com all will work. Keep that in mind that these lists don’t support regular expressions.

Once you make the necessary changes in SpamAssassin advanced configuration page, click on the Save button to save your changes.

Step (8). Open your website’s mail accounts and look for spam mails in “spam” folders, if Spam Box is enabled.

How to enable SpamAssassin using cPanel?

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top