Understand cPanel’s Spam Assassin functionality.

By | July 29, 2009

A Spam Assassin is a software, that analyzes messages in the form of Spam-Assassin E-mails. It differentiates and determines other E-mails from spams. You are required to set rules inorder to compare the different parts of an E-mail. Every rule adds or removes points from a message’s spam score. This spam score helps to determine the difference between spam and business E-mails. Its an E-mail spam filtering system that is deployed with the account to help block or mark the spam mail.

cPanel logo To get access to the Spam Assassin, you need to first of all login to your cPanel control panel provided by your Web Hosting provider. Here in the Mail section you can find the tab of Spam Assassin. If you click on the tab, you can check if the filter is enabled or disabled. From there you can enable the filter. Inorder to configure the settings you need to hit the Configure Spam Assassin tab.

Below is a pictoral description of Spam Assassin

Spam-Assassin-Tab

Enable/Disable Spam Assassin

Configure Spam Assassin

Steps to Configure Spam Assassin

Here you can find number of boxes to be populated :

The first one here is the blacklist_from here you need to specify the e-mail address/es you wish to be marked as spam.

Then is the required_score tab, here you need to set the number of hits required before a mail is considered spam. “n.nn” can be an integer or a real number. 5.0 is the default setting, and is quite aggressive, it would be suitable for a single-user setup. Below you would find ‘score’, here you need to Assign scores (the number of points for a hit) to a given test. Scores can be positive or negative real numbers or integers. “SYM-BOLIC_TEST_NAME” is the symbolic name used by SpamAssassin for that test; for example, ‘FROM_ENDS_IN_NU’. If only one valid score is listed, then that score is always used for a test. If four valid scores are listed, then the score that is used depends on how SpamAssassin is being used. The first score is used when both Bayes and network tests are disabled. The second score is used when Bayes is disabled, but network tests are enabled. The third score is used when Bayes is enabled and network tests are disabled. The fourth score is used when Bayes is enabled and net-work tests are enabled. Setting a rule’s score to 0 will disable that rule from running. Then comes ‘whitelist_from’ here you need to specify addresses which send mail that is often tagged (incorrectly) as spam; it also helps if they are addresses of big companies with lots of lawyers. This way, if spammers impersonate them, they’ll get into big trouble, so it doesn’t provide a shortcut around SpamAssassin. Whitelist and blacklist addresses are now file-glob-style patterns, so [email protected], *@isp.com, or *.domain.net will all work. Specifically, * and ? are allowed, but all other metacharacters are not. Regular expressions are not used for security reasons.

You can Enable or Disable the Spam Assassin whenever you wish to. This simple tool simplifies your task of filtering out spam E-mails reach your mail box. With the ever increasing number of spam E-mails reaching your mailbox, tools such as cPanel Spam Assassin have gained popularity at a fast pace.