Spam Assassin Configuration / Black-list and White-List
To configure your Email spam settings you will need to login to your cPanel portal then follow the steps below:
Select "Apache SpamAssassin TM" as shown under "EMAIL" below:
Each incoming mail is being screened by SpamAssassin and given a score, based on the spam characteristics. By default, email messages with the score 5 are considered to be spam. However, it is possible to adjust the filter according to your needs.
In order to add and remove entires you will need to click on Configure Apache SpamAssassin™:
You will be redirected to a menu where several options are available, setting your own spam score is among them. Find required_score field and insert the new value:
[new_score] should be replaced with a number. All the incoming mails which are scored with this number and higher ones, will be marked as spam.
0 - means that every incoming mail will be marked as spam.
5 - default score, works well for typical users.
NOTE: the lower your score is, the more restrictive filter will be.
Once done, click on Save at the bottom of the page.
Some mails may be incorrectly detected as non-spam by Apache SpamAssassin. If these email messages often come from the specific email senders, you can blacklist them. SpamAssassin will then tag those ones as spam.
To blacklist certain sender, just enter it into the one of blacklist_from fields:
If SpamAssassin often blocks certain email senders and marks its mails as spam (incorrectly), it is possible to add the sender to whitelist.
To whitelist specific sender, just enter it into one of whitelist_from fields:
NOTE: whitelist and blacklist addresses are now file-glob-style patterns, so firstname.lastname@example.org, *@test.com or *.test.com will all work. Specifically * and ? are allowed, but all other metacharacters are not. Regular expressions are not used for security reasons.