Configuring SpamAssassin

SpamAssassin is an email utility that examines every email in an attempt to filter out spam, this is achieved by testing for known spam characteristics. Should the message reach a predefined score, then it is discarded as spam.

To configure SpamAssassin, first you need to login to your cPanel account and then follow this guide.

1. Click on the 'SpamAssasin' icon which can be found in the Mail section of your cPanel home screen.

2. Click the 'Enable SpamAssassin' button to enable it.

Automatically Delete Spam

1. Click the 'Auto-Delete Spam' button to have SpamAssassin delete mail when it reaches a certain level of hits.

Note: The default setting is 5, a higher number means a more conservative setting. By using this feature you could lose mail that is not spam, if SpamAssassin has not been configured correctly.

Spam Box

1. Click the 'Enable Spam Box' button to have a seperate folder created, called Spam, into which SpamAssassin will send all mail it considers to be spam.

Note: We recommend that you use this feature, to check if all mail in the folder is actually spam. Be aware that if you use a POP3 client to collect your mail you will need to access and empty your spam box using the address username@yourdomain.com/spam and your email account password. Alternatively you can use webmail and access the spam folder from there, please ensure you empty your spam box regularily to avoid exceeding your email quota.

Configure SpamAssassin

1. Click the 'Configure SpamAssassin' button to create a blacklist, a whitelist and to set test scores that SpamAssassin should use.

2. In the 'blacklist_from' fields, enter email addresses from whom you do not wish to receive mail.

Note: Entering user@spam.com will blacklist all mail from that address, entering *@spam.com will blacklist all mail from any address at spam.com.

3. In the 'required_score' field you can change the default setting for the number of emails received before a certain email is considered spam.

4. In the 'score' fields you can assign scores to individual tests.

Note: If you wish to do this we recommend you read the SpamAssassin documentation at http://spamassassin.apache.org/tests.html for further information.

5. In the 'whitelist_from' fields enter any email addresses whose email gets blocked, but from whom you wish to receive email.

6. Click the 'Save' button to store your preferences.

Was this answer helpful?

 Print this Article

Also Read

Changing the Control Panel Password

To change your Control Panel password, first you will need to login to your cPanel account and...

Using Index Manager

Using Index Manager, it is possible to define how a specific directory index will appear to...

Creating an Auto Responder

An Auto Responder is an automated email message that you can set to respond to all emails sent to...

Using IP Deny Manager

The IP Deny Manager will allow you to block access to your website from a range of IP addresses....

Password Protecting A Directory

Password protecting a directory will require users to enter a username and password to access a...