
Full Answer
How do I configure spam filters in cPanel?
To configure it, select Spam Filters in the Email section of the cPanel Home interface. The first setting on the Spam Filters overview page is “Process New Emails and Mark them as Spam.” This is the switch that turns email testing on and off. When it is on, SpamAssassin marks high-scoring emails by inserting ***SPAM*** into the message’s header.
How do I Turn Off email testing in cPanel?
To configure it, select Spam Filters in the Email section of the cPanel Home interface. The first setting on the Spam Filters overview page is “Process New Emails and Mark them as Spam.” This is the switch that turns email testing on and off.
How do I set up SpamAssassin in cPanel?
SpamAssassin is fully integrated into the cPanel interface, and you can tweak its settings to get exactly the right spam filtering functionality for your users. To configure it, select Spam Filters in the Email section of the cPanel Home interface. The first setting on the Spam Filters overview page is “Process New Emails and Mark them as Spam.”
How do I turn email testing on and off in SpamAssassin?
The first setting on the Spam Filters overview page is “Process New Emails and Mark them as Spam.” This is the switch that turns email testing on and off. When it is on, SpamAssassin marks high-scoring emails by inserting ***SPAM*** into the message’s header. Just below “Process New Emails” is the Spam Threshold Score setting.

How to prevent cPanel mails to go into spam folder
Mail servers mark a mail as spam based on “spam” and “not-spam” scoring.
1. Setup FCrDNS (Forward Confirmed Reverse DNS)
The vast majority of spam mails are sent from infected PCs or poorly maintained mail servers.
2. Configure SPF and DKIM DNS records
Spammers often use fake “From” email IDs to make customers click on a phishing link. This is called spoofing.
4. Prevent malware infection
All major mail service providers keep historical records of IP reputation.
5. Choose an IP block of good reputation
Some blacklists block entire IP ranges when they consistently send spam.
Conclusion
cPanel email can land in spam boxes of Hotmail, Gmail, etc. if anti-spam best practices are not followed. Today we’ve seen the top 7 anti-spam measures our Hosting Support Engineers implement in cPanel servers to ensure good mail server reputation.
Overview
The Mail section of WHM’s Tweak Settings interface ( WHM >> Home >> Server Configuration >> Tweak Settings) contains five options that allow you to limit outgoing mail. The limits that these options set apply to all domains on the server. Use the options to help limit bandwidth consumption and prevent potential spammers.
Total emails sent by a domain per hour options
The following options apply to the total number of outgoing messages that a domain sends per hour.
Total emails sent by an email account per hour options
The following options apply to the total number of outgoing messages that an individual email account sends per hour.
Failed and deferred outgoing message options
The Maximum percentage of failed or deferred messages a domain may send per hour option and the Number of failed or deferred messages a domain may send before protections can be triggered option specifies when the server will temporarily block outgoing mail from a domain.
Overview
This article contains helpful information to make sure that other servers or network do not mark your email as spam. You should not send spam from your server. For more information on how to make sure that your server does not send spam, read our How to Prevent Email Abuse documentation.
Use email authentication
DKIM (DomainKeys Identified Mail) and SPF (Sender Policy Framework) authentication can help verify that email comes from a trusted sender. DKIM is a validation system that detects email spoofing. It allows your mail server to check whether a domain’s administrators authorized email from a domain.
Configure the server PTR record
A PTR record resolves an IP address to a domain name. A PTR record resembles a reversed A record. Configure the PTR record of the primary IP address of your server to use the hostname of your server. If you have configured Exim to use a different IP address, ensure that the PTR record of that IP address uses the hostname of your server.
Spam and other networks
If email networks such as Gmail™, Yahoo, or Outlook mark your server’s email as spam, you must identify the reason and resolve the problem. If you have recently resolved an issue with spam on your server or you received a new IP address which previously sent spam, you must notify the remote network.
What Is SpamAssassin and How Does It Work?
We all receive spam and can recognize what it is right away. We know what it looks like, and, usually, alarm bells start ringing in our minds even if we can’t say precisely why. When that happens, we’re pattern-matching: our brains have learned to associate specific words, phrases, typography, and grammar with unwanted email.
What is the SpamAssassin Score?
The SpamAssassin score tells us how likely an email is to be spam. Each test has a number associated with it, often a small number like 0.1 or –0.2. As messages are analyzed, the software keeps a running total, adding the individual test results to produce a combined score.
The Best Settings for SpamAssassin in cPanel
SpamAssassin is fully integrated into the cPanel interface, and you can tweak its settings to get exactly the right spam filtering functionality for your users. To configure it, select Spam Filters in the Email section of the cPanel Home interface.
