Apache SpamAssassin is a server side mail filter that uses a diverse range of tests to identify and process spam.
With the default config, all email deemed spam will have a ***SPAM*** tag added to the subject and will be delivered to your inbox. In your inbox, that might look something like this -
You can use standard email filters or rules to easily process that tagged email. If you need help setting up a filter or rule in your email program, let us know what software you are using and we can send you instructions.
PLEASE NOTE : All cPanel accounts come with SpamAssassin. For the most part, you should not need to concern yourself with SpamAssassin and you can rest assured that it is doing its job to protect your inbox from messages which are clearly junk. If you are interested in learning more or adjusting your SpamAssassin configuration, read the detail below.
Please follow these steps to access and adjust your SpamAssassin settings :
1. Login to your cPanel Account
2. In the Mail section, click on Apache SpamAssassin icon
3. On the next page you will see the following features/options -
This setting defaults to 5. A Higher spam score will be more lenient. A lower score will be more strict. Note that this score works in conjunction with the primary Required Score set on the Configure SpamAssassin page. They can be set to a different number. So for example, you can set your primary required score to 3, but your Auto Delete score to 5. Then any more obviously junky messages - those with a spam score of 5 or higher - will be deleted while messages with score under 4.99 - those that might include valid mail accidentally tagged as spam - will remain on the server for you to review.
BE CAREFUL - If you enable this feature and a valid message accidently meets or exceeds the defined score you will lose that email!
To enable the Spam Auto-Delete feature, click the blue Auto-Delete Spam button
To disable the Spam Auto-Delete feature, click the blue Disable Auto-Delete Spam button.
Use the Spam Box feature to create a dedicated “spam” folder. SpamAssassin will send all of the mail that is marked as junk to this folder (except of course any email that exceed the Spam Auto-Delete score if enabled).
PLEASE NOTE : To be clear, with this feature disabled, all mail tagged as spam (and below the Auto-Delete threshold) will be delivered to your inbox. If you enable this feature, you will need to check your newly created spam folder periodically. This is both because you will want to keep an eye out for any valid email that might have been tagged AND because you will need to clear out this folder from time to time to free up space.
To view your spam folder you will need to login to your email account via one of the cPanel webmail interfaces. Furthermore, the first time you access a webmail portal, you will need to configure your account to subscribe to the SpamAssassin spam folder. This page shows you how to do that. Once you are subscribed to this folder, you can move valid junk mail to your other folders (like your inbox) or delete the email you see fit.
To enable the Spam Box feature, click the blue Enable Spam Box button
You can also quickly empty your SpamAssassin spam folder by clicking the blue Clear Spam Box button on the main SpamAssassin config page.
You can disable the Spam Box feature at any time by clicking the blue Disable Spam Box button.
Apache SpamAssassin™ Configuration - This additional page allows you to adjust your primary SpamAssassin Required Score and whitelist and blacklist senders.
To reach your primary Apache SpamAssassin configure place, please click the blue Configure Apache SpamAssassin button
On the next page you will be able to adjust and add important detail. Please consider :
required_score - This is your Primary Spam Score. This score defaults to 5. A Higher spam score will be more lenient. A lower score will be more strict. Note that this score can work in conjunction with the Auto-Delete score set on previous SpamAssassin page. They can be set to a different number. So for example, you can set your primary Required Score to 3, but your Auto-Delete score to 5. Then any more obviously junky messages - those with a spam score of 5 or higher - will be deleted while messages with score under 4.99 - those that might include valid mail accidentally tagged as spam - will remain on the server for you to review. To save any changes to your Required SpamAssassin score, be sure to click the blue Save button at the bottom of this page.
score - We highly recommend you not adjust or add any config here. This is for very advanced users and leaving these blanks should allow your SpamAssassin to function perfectly.
blacklist_from - SpamAssassin may miss some junk mail and fail to tag it properly. If these messages often come from specific addresses, you can blacklist that address to ensure that SpamAssassin tags their messages correctly in the future. To do this, enter the address in one of the blacklist_from text boxes. To add more than five addresses to the blacklist, fill in the first five text boxes and click Save. Additional text boxes will appear. To save any changes to your blacklist, be sure to click the blue Save button at the bottom of this page.
whitelist from - Add valid email addresses that SpamAssassin mistakenly tags as spam to the SpamAssassin whitelist. To do this, enter the address in one of the whitelist_from text boxes. To add more than five addresses to the whitelist, fill in the first five text boxes and click Save. Additional text boxes will appear. To save any changes to your whitelist, be sure to click the blue Save button at the bottom of this page.
PLEASE NOTE : 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 on your lists :
firstname.lastname@example.org - Blacklists or whitelists a single email address.
*@example.com - Blacklists or whitelists all of the addresses at example.com.
?email@example.com - Blacklists or whitelists a single character in an address at example.com (for example, firstname.lastname@example.org, but not Auser@example.com
Remember, to save any changes made on this Apache SpamAssassin config page, be sure to click the blue Save button at the bottom of the page.
If you have any questions about this settings, please let us know!
Was this answer helpful?
What is Greylisting? How to turn Greylisting On and Off Associated Risks Troubleshooting...
What is a User Level Email Filter?How to Create a New User Level Email FilterHow to Edit an...
What is an Global Email Filter? How to create a new Global Filter How to edit an existing Global...
What is BoxTrapper? How to Activate BoxTrapper How to Edit your BoxTrapper Settings How to...