This article describes how to use the SpamAssassin™ tool in cPanel to reduce the amount of unwanted e-mail (spam) in your e-mail accounts. SpamAssassin is an automated filtering system that uses a variety of techniques to identify and filter spam messages.
SpamAssassin
Spam can be a major annoyance, with messages filling up users' inboxes. Additionally, spam messages can contain virus attachments or malicious links.
We use SpamAssassin for filtering out incoming spam. It uses scores to rate the likelihood that a message is spam. You can manage messages that SpamAssassin marks as spam in a number of ways. For example, you can route messages marked as spam to specific folders, or you can automatically delete them.
It works by using a variety of spam detection methods, including:
- DNS-based and fuzzy checksum based spam detection
- Bayesian Filtering
- Sender Reputation System
- Whitelists
- Online Databases (DCC, Pyzor, Razor2)
- Body phrase tests
- Header tests
- Character sets and locales
Configuring SpamAssassin
You can configure message scoring parameters to control how SpamAssassin examines incoming messages. You can also define whitelists (trusted senders) and blacklists (known spammers).
To configure SpamAssassin in cPanel, follow these steps:
- In the Email section of the cPanel home screen, click Spam Filters.
- On the Spam Filters page, click the Spam Threshold Score link.
- In the Spam Threshold Score (required_score) section, choose Custom. We recommend using a score of 2-3. Click the Update Scoring Options button to save your setting.
- Click the Show Additional Configurations link to see additional choices for configuring Spamassassin. This is the Spam Filters main page.
- Click the Edit Spam Whitelist Settings link to specify e-mail addresses that are trusted senders.
- Click the Edit Spam Blacklist Settings link to specify e-mail addresses that are known spammers.
- Click the Configure Calculated Spam Score Settings link to setup additional spam checks. We recommend using the default settings for the following checks:
BAYES_OO, RDNS_NONE, DKIM_INVALID, URIBL_DBL_SPAM, URIBL_WS_SURBL, URIBL_BLACK
Make sure you click the Update Scoring Options box to save your changes.
The above steps will reduce the amount of incoming spam to a more manageable level. As always if you have any questions then please fill out a support ticket via your client area and we will do our best to assist you.