How to Enable SpamAssassin for All Client Accounts in WHM?


SpamAssassin is an email spam filtering system that automatically scores incoming emails and marks or discards messages identified as spam. As a reseller, you can enable and configure SpamAssassin globally for all your client accounts from WHM.

Enable SpamAssassin in WHM

  1. Login to WHM.
  2. Go to Email → Apache SpamAssassin Configuration.
  3. Check Enable SpamAssassin for new accounts by default.
  4. Set the Required Score (spam threshold):
    • 5 = Standard filtering (recommended)
    • 3 = Aggressive filtering (may cause false positives)
    • 8 = Lenient filtering (less spam caught)
  5. Optionally enable Automatically delete new spam — emails scoring above the threshold are automatically deleted.
  6. Click Save.

What SpamAssassin Does

  • Scans every incoming email against hundreds of spam rules.
  • Assigns a spam score — higher score = more likely spam.
  • Adds X-Spam-Status and X-Spam-Score headers to emails.
  • Prepends [SPAM] to subject lines of flagged emails.
  • Optionally moves spam to a Spam folder or deletes it automatically.

Client-Level SpamAssassin Settings

Individual clients can also configure their own SpamAssassin settings from their cPanel:

  1. cPanel → Email → Spam Filters.
  2. Enable spam filtering, set score threshold, configure whitelist/blacklist.

Tip: Set the required score to 5 and enable "Mark as Spam" rather than "Delete Spam" globally. This way, clients receive spam-marked emails in a Spam folder rather than losing legitimate emails that are false positives.

If you continue to face issues, please open a create a request.

آیا این پاسخ به شما کمک کرد؟ 0 کاربر این را مفید یافتند (0 نظرات)