cPanel Spam Filter
This interface allows you to configure the spam filter settings (powered by Apache SpamAssassin™) for your account. Spam filters identify and sort or delete unsolicited email, commonly known as spam. You can also use this interface to configure your whitelist and blacklist settings.
For more information, read Apache SpamAssassin’s overview documentation
Process New Emails and Mark them as Spam
Set this toggle to enabled to identify potential spam. Apache SpamAssassin examines every message for spam characteristics and assigns them a calculated spam score. This calculated spam score helps determine the likelihood that a message contains spam. The Spam Box and Auto-Delete features require that you enable Apache SpamAssassin first.
Spam Threshold score
If the system calculates a spam score for a message that meets or exceeds the Spam Threshold Score setting, the system marks the message as spam. A lower spam threshold score, such as a one, is aggressive and labels many messages as spam, including messages that may not be spam. However, a higher value, such as a ten, is passive and only labels messages that are obviously spam.
To set the spam threshold value, perform the following steps:
- Click Spam Threshold Score. The system directs you to the Adjust Spam Threshold Score interface.
- Select the desired value from the menu.
Select Custom from the menu to enter a custom value.
- Click Update Scoring Options to save your changes.
Move New Spam to a Separate Folder (Spam Box)
Set this toggle to enabled to configure the Exim service to create a
spam folder the next time that you receive spam mail. Spam Box sends any message with a calculated spam score that exceeds the spam threshold score to this folder. This feature preserves email that Apache SpamAssassin may mistakenly classify as spam mail.
We recommend that you use Spam Box because you can still view the messages. However, you should occasionally empty this folder because the space that it uses counts towards your email quota limit.
Empty the Spam Box folder
To empty the spam folder or remove selected messages, click Configure Spam Box Settings. The system directs you to the Spam Box interface with the following settings:
- Enable the Spam Box is enabled. toggle in this interface to activate the Spam Box feature if you did not do so in the Spam Filters interface.
- Click Empty the Spam Box folder for “username” to delete all messages in the
spamfolder for the system user email account, where username represents the system user email account’s name.
- Click Empty all Spam Box folders to delete all messages in the Spam Box for every email address on this account, including the system user email account.
This setting deletes the
spamfolder contents for all email addresses on the account.
Automatically Delete New Spam (Auto-Delete)
Set this toggle to enabled to automatically delete messages that meet or exceed the Auto-Delete Threshold Score value.
Make certain that you properly configure the Auto-Delete Threshold Score value. This permanently deletes all messages with a calculated spam score that meets or exceeds the Auto-Delete Threshold Score value. This could include non-spam messages, which would cause you to lose those messages.
Configure Auto-Delete Settings
Click Configure Auto-Delete Settings to configure the Auto-Delete Threshold Score value. The system directs you to the Auto-Delete interface with the following settings:
- Enable the Spam Auto-Delete is enabled. toggle in this interface to activate the Auto-Delete feature if you did not do so in the Spam Filter interface.
- Select the desired Auto-Delete Threshold Score value. Click Update Auto-Delete Score to save your changes.
The Auto-Delete Threshold Score value does not affect the Spam Threshold Score value.