Use the Spam Filters (Apache SpamAssassin™) interface to configure Apache SpamAssassin, an email filter that identifies spam.
(Home >> Email >> Spam Filters)
This interface allows you to configure Apache SpamAssassin™ for your account. Apache SpamAssassin is an email utility that examines incoming email and tests for spam characteristics. It uses Bayesian spam filtering and network tests to screen incoming email. This results in an overall score that Apache SpamAssassin uses to determine whether it should discard a message.
The Apache SpamAssassin interface displays the current status of the feature.
The Spam Auto-Delete feature automatically deletes messages that meet or exceed the spam score limit.
Note: If you enable this feature and a message that is not spam meets or exceeds the defined score, you may lose that email. Make certain to properly configure Apache SpamAssassin before you use this feature.
Warning: If you check your mail through a POP3 client, access and empty your spam box with the username
your email account password. If you do not delete email in the spam box
frequently, spam may accumulate and cause you to reach your email
Activate Enable Spam Box to cause Exim to create a
spam folder the next time that you receive spam mail.
After you enable this feature, click Clear Spam Box to delete the messages in the spam box.
Click Configure Apache SpamAssassin™ to update Apache SpamAssassin's configuration.
When you add addresses to the blacklist or whitelist, use
* as a wildcard to represent multiple characters and
? to represent a single-character wildcard. The following examples demonstrate how to properly use wildcards in the blacklist:
email@example.com— Blacklists or whitelists a single email address.
*@example.com— Blacklists or whitelists all of the addresses at
?firstname.lastname@example.org— Blacklists or whitelists a single character in an address at
email@example.com, but not
Apache SpamAssassin may incorrectly tag some mail as non-spam messages. If these messages often come from specific addresses, you can blacklist them to ensure that Apache SpamAssassin tags their messages correctly.
To do this, enter the address in one of the blacklist_from text boxes.
Note: To blacklist email addresses on multiple accounts, use the Exim System Filter File.
Apache SpamAssassin examines every email message for spam characteristics and assigns it an overall score.
Use the required_score text box to set the required score to mark a message as spam. The default setting is
which is aggressive. This setting is suitable for a single user, but
ISPs should set the default to be more lenient (for example,
Apache SpamAssassin uses hundreds of tests, and you can assign scores to individual tests to configure Apache SpamAssassin for your server.
To do this, perform the following steps:
1. To review the default scores, run the following command on the command line:
grep -R score /var/lib/spamassassin/* |less
2. You must know which version of Apache SpamAssassin runs on your server. To check your version of Apache SpamAssassin, run the following command:
3. Enter individual test scores in the score text boxes in the following format:
"score" "TEST_NAME" "1 or 4 positive or negative numbers"
The following table indicates when Apache SpamAssassin uses each score.
For example, you could enter the following individual test score:
score INVALID_DATE 3.2 3.3 2.5 2.1
This example sets the scores that Apache SpamAssassin assigns to a message with an invalid date in its header.
0to disable the test.
In the example above,
3.2 is the first score,
3.3 is the second,
2.5 is the third, and
the fourth. If you enter four numbers, as in the example, the score
that Apache SpamAssassin uses depends on the enabled Bayes and network
tests in your installation of Apache SpamAssassin.
Add email addresses that Apache SpamAssassin often blocks, but from which you wish to receive mail, to the Apache SpamAssassin whitelist.
To do this, enter the address in one of the whitelist_from text boxes.