SpamAssassin is the primary application used to detect and mark incoming or outgoing spam emails for your Dedicated server. In some cases you may prefer to have it disabled though it is not recommended unless you are using a different solution to reduce or mark spam that may be hitting your account. Be aware that SpamAssassin can only be enabled account-wide. It cannot be specific to a created cPanel account.
Enabling or disabling Spam Assassin requires that you have root access.
How to Enable/Disable Spam Assassin
- Login to the WHM
- Next, under the Server Configuration section click on Tweak Settings
- Tweak Settings has a lot of settings that you can make, but the one we’re looking for is under the MAIL tab. Click on the Mail tab to open the Mail options.
- Scroll down in the Mail options until you find Enable Apache Spam Assassin spam filter. In the column at right, click on ON to enable, or OFF to disable Apache SpamAssassin.
- When you have selected your choice, make sure that you click on the blue SAVE button at the bottom of the screen.
Congratulations, now you know how to enable and disable SpamAssassin in WHM!