Real people, 24/7(800) 395-7779

How to Set Up Spam Filters (Apache SpamAssassin) in cPanel Print

  • cpanel, email, spam
  • 1

Our cPanel servers use Apache SpamAssassin to score every incoming message. In cPanel's Spam Filters tool you decide what happens to messages that look like spam: move them to a Spam folder, delete the worst ones automatically, and whitelist or blacklist specific senders.

Step-by-Step Guide:

  1. Log in to cPanel:

  2. Open Spam Filters:

    • In the Email section, click Spam Filters.
  3. Move spam to a separate folder (recommended):

    • Turn on Move New Spam to a Separate Folder (Spam Box). Messages marked as spam go to the spam folder of each mailbox instead of the Inbox. Check that folder in Webmail or your mail app now and then.
  4. Automatically delete obvious spam (optional):

    • Turn on Automatically Delete New Spam (Auto-Delete) and click Configure Auto-Delete Settings. Choose a high score (for example, 8 or more) so only very obvious spam is deleted. Deleted messages cannot be recovered.
  5. Adjust the threshold (optional):

    • Under Spam Threshold Score, the default is 5. A lower number catches more spam but also more legitimate mail; a higher number is more lenient.
  6. Whitelist and blacklist senders:

    • Click Show Additional Configurations.
    • Edit Spam Whitelist Settings: add addresses or domains that should never be marked as spam (for example, *@yourbank.com).
    • Edit Spam Blacklist Settings: add senders that should always be treated as spam.

Tips:

  • To filter on the subject, sender, or body text, use Email Filters.
  • Webmail (Roundcube) also has a Junk button that marks messages for you.

Troubleshooting:

  • Legitimate mail going to spam: Whitelist the sender, or raise the threshold slightly. Check the spam folder rather than the Inbox.
  • Too much spam getting through: Make sure the Spam Box is on and lower the threshold one step at a time. Avoid catch-all addresses (see Default Address).

Need help? Open a ticket at https://my.peopleshost.com/submitticket.php and our support team will be glad to assist.


Was this answer helpful?

« Back