Apache SpamAssassin is an email utility that examines incoming email and tests for spam characteristics. It uses various spam filtering and network tests to screen incoming email and apply a score to the email which can be used to determine if a message should be discarded or otherwise filtered.
The Apache SpamAssasin tool is available in your cPanel under the Mail area:
- To enable Apache SpamAssassin, click 'Enable Apache SpamAssassin' in the Apache SpamAssassin interface.
- SET THE REQUIRED SCORE: In 'Configure Apache SpamAssassin' Use the required_score text box to set the required score to mark a message as spam. The default setting is 5.0, and is aggressive. The lower the score, the more aggressive the setting.
- ADD ADDRESSES TO THE BLACKLIST:
You can add addresses to the Apache SpamAssasin blacklist to block the receipt of emails from those addresses.
When you add the addresses to the blacklist, 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 a single email address.
*@example.com — Blacklists all the addresses at example.com.
?firstname.lastname@example.org — For example, User@example.com would be blacklisted, but AUser@example.com would not be blacklisted.
If you need to add more than five addresses to the blacklist, fill in the first five text boxes and click Save. Additional text boxes will appear.
- ADD ADDRESSES TO THE WHITELIST:
Enter email addresses for which email is often blocked, but from whom you wish to receive email.
Use * as a wildcard for multiple characters, or ? as a single-character wildcard.
email@example.com — Whitelists a single email address.
*@example.com — Whitelists all the addresses at example.com.
?firstname.lastname@example.org — For example, email@example.com would be added to the whitelist, but AUser@example.com would not be added.
If you need to add more than five addresses to the whitelist, fill in the first five text boxes and click Save. Additional text boxes will appear.
- CONFIGURE FILTERS: To configure more advanced filters, including those based on the Spam Score/Status assigned to a message by Apache SpamAssassin use the 'User Level Filtering' and 'Account Level Filtering' tools also in your cPanel.
More information on Apache SpamAssassin is available at spamassassin.apache.org