Spam Filtering Customisation

Spam Filtering is a user-friendly email utility which provides advanced smart mail account protection, it examines incoming mail for different spam characteristics, it decides whether mail should be considered spam or not.

Nowadays, with the rising amount of spam and email threats, whether it’s spam, phishing, viruses, malware or spoofing, spam filtration is an essential part of filtering, managing and protecting any business email account from unsolicited bulk email before it reaches your inbox, A vast majority of security attacks begin with email-borne threats. Spam filters recognize, protect and stop messages containing malicious links, spam, phishing, and weaponized attachments.

The Spam Filters tool protects your business from undesired issues and expenses. It uses a robust scoring framework and plug-ins to filter email and block spam. Spam Filters tool is provided by default on our servers, it can be set up through the cPanel, and the guidelines on how to do that is stated below.

  • Login to cPanel and navigate to the Email section
  • Click the Spam Filters menu
  • Toggle the button near Process New Email and Mark them as Spam to enable/disable

Required Score:
0 means everything will be marked as Spam
5 is the default
10 means nothing will be marked as Spam

Setting up Spam Filters once works for all of the emails on your account. Spam Filters will mark your spam so it is easy to notice. (You can even make spam filters automatically delete those emails.)
NOTE: You can use Spam Box or Email Filtering to move the spam from your Inbox to another folder.

Move New Spam to a Separate Folder (Spam Box):

This feature makes Exim create a separate spam folder in your mailbox, which will collect incoming emails marked as spam.

By default, emails with the score of 5 are considered spam. You can adjust the filter according to your needs. Spam threshold can be configured using the Spam Threshold Score option.

Spam messages have higher calculated spam scores than regular messages. For example, an account that uses a Spam Threshold Score of 10 will only mark messages that are obviously spam.

You can delete messages collected by Spam Box using Configure Spam Box Settings >> Empty the Spam Box folder or Empty all Spam Box
folders buttons:

Automatically Delete New Spam (Auto-Delete):

This feature removes the emails which meet or exceed the spam score set.To configure, go to Automatically Delete New Spam (Auto-Delete) widget and turn it on. The required score can be set using Auto-Delete Threshold Score or Configure Auto-Delete Settings.

The Auto-Delete Threshold Score does not affect the Spam Threshold Score.

To access advanced settings, scroll down to the Additional Configurations >> Show Additional Configurations:


It is possible to add some email addresses or domains to the whitelist/blacklist using the Whitelist (Emails Always Allowed) and Blacklist (Emails Never Allowed).

If SpamAssassin often blocks some email senders and marks their emails as spam (incorrectly), it is possible to add the sender to the whitelist via Edit Spam Whitelist Settings. To whitelist a specific sender, just enter it into the whitelist_from field:

Some emails may be mistakenly detected not as spam by Apache SpamAssassin. If these email messages often come from specific email senders, you can blacklist them using Edit Spam Blacklist Settings. SpamAssassin will mark them as spam. To blacklist certain senders, enter it into the blacklist_from field:

Calculated Spam Score Settings:

Each incoming mail is screened by Spam Filters and given a score, based on the spam characteristics. Click Configure Calculated Spam Score to configure individual test scores.

Click Add New "scores" Item, find the score field and configure it as needed:

NOTE: the lower your score, the more restrictive filter will be. Once done, Save at the bottom of the page.