How to adjust Spam Filter Settings in cPanel


For our Shared and Reseller hosting we include the Spam Experts mail filter. For other hosting, you can follow the instructions for Spam Assassin.

Spam Experts

Step 1 -
Log into cPanel and click on Professional Spam Filter under Email.

e5e1a6063cad745db7c70d8ce227602c9c6deb5b94de7e327474f9662b69f2eb7a72d0bc6166f48a?t=3b32c44d93b4b9738cf896a74d7969e3


Step 2 - Choose the domain or subdomain you want to access the spam settings for and click Login:

3507c1534a3df76ed2074e5bb17f4f1d2a75fd04d18266ad6c8e5cd8a6a66c6204f55df98a6d6e6a?t=eaf1ff36ea05182478a04de4911171fc


Step 3 - Click on the Filter settings icon under Incoming - Protection Settings.

f1832be0a2b4e56aeeea7d92013c9813d941b9ebd6e8de28d2a35c95b6c29bb18448cadff637aa67?t=a1c6bb14d8a4373a1938abf819d69aeb


An explanation of the available settings is below:

2e21d3705f49dedc2aa8f4c26d3af43afdedeabc064f9107326f4a1d5490d3732e7c401faef31e90?t=866ba5470c0a333e2520d2d66f9e232f

Quarantine enabled - This option will enable or disable the quarantine system. If you disable the quarantine system, emails detected as spam will not be kept in the quarantine system but will be delivered to your email server. This only affects "Possible Spam" and does not disable the entire spam filter.

Quarantine threshold - This option adjusts the minimum score that a message must receive in order to be classified as spam. The score ranges from 0.0 (certainly not spam) to 1.0 (certainly spam). The default threshold is 0.5.

Beneficial to train threshold: - This option adjusts the score that a message must receive in order to be classified as unsure, which will flag the email but still allow it to pass through the filter. The score ranges from 0.0 (certainly not spam) to 1.0 (certainly spam).

Sender checks - Choose whether or not to check SPF / DKIM / DMARC records when checking for spam (click here for an explanation on what DKIM / SPF / DMARC do).

Skip maximum line length check - This option will enable or disable the Maximum line length check. There are strict regulations on allowed line length in emails, which are automatically enforced by the email software. Some applications or badly developed scripts do not adhere to the official specifications thereby exceeding the maximum allowed line-length. We recommend to leave this unticked.

Beneficial to train notation - This option allows you to insert text within the Subject of all emails marked as Unsure. You could then create a rule in your email application to search for the provided text for incoming emails and move them to a specific folder for review.

Quarantine response - This options allows you to choose whether Spam Experts will tell the sending server whether the message was Accepted or Rejected when it is quarantined.


Click on the Save button to save the changes you made.

045a8f411c3d7c03c70e5ef5081a10ad04f723e385423074c1714728fc2facb4bc9334885ef5f5aa?t=5bfada2d6f49ce1e206c9352942d4f31


Spam Assassin

Step 1 -
Log into cPanel and click on Spam Filters under Email.

0d8786f18f1291e1e4616f700233de030d372f7acd23ed624ce31b2a2ca8fbdf80cfca0f6893b937?t=4b197e769d4441450f36046f217ae591


Step 2 - Ensure the 'Process New Emails and Mark them as Spam' option is enabled, along with the 'Move New Spam to a Separate Folder' option. If necessary you can also automatically delete emails flagged as spam, but this isn't recommended.

bb30395c549ae2eb295377297dc7ee0906de870c50e86aeffc0080d7d85a961d640f5561c743d463?t=332a365fa75a924a8ce5386e708ceb93


Step 3 - Adjust the 'Spam Threshold Score' as necessary. This option adjusts the minimum score that a message must receive in order to be classified as spam. The score ranges from 0 (certainly not spam) to 10 (certainly spam). The default threshold is 5. You can also modify the Auto-Delete Threshold in the same way.

If you are receiving too many spam emails, try setting the score to 4, or alternatively if too many legitimate emails are being flagged as spam, try setting the score to 6.
24348651e1bb5eddae41690637feba91747c4b3e1393dd43c251aaeb1aca5ef7aaf716e3ad42c6f1?t=77a0edab5ffcb74be480d512e09a2aff


For more tutorials on accessing emails and setting up email clients, view our Email Setup Guides.


Did you find this article useful?