> ## Documentation Index
> Fetch the complete documentation index at: https://help.noxity.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Spam Filters

> Configure Apache SpamAssassin: thresholds, allowlists, blocklists, and what to do with messages flagged as spam.

Spam Filters configures **Apache SpamAssassin**, the open-source spam classifier that runs on every Noxity cPanel server. SpamAssassin scores incoming mail against thousands of rules; you decide what score is "spam" and what should happen to messages that cross the line.

Open it from cPanel home → **Email** → **Spam Filters**.

<Frame caption="Spam Filters configuration page">
  <img src="https://mintlify.s3.us-west-1.amazonaws.com/noxity/images/cpanel/email-management/spam-filters/page-light.png" alt="Spam Filters with Apache SpamAssassin toggle, threshold, and lists" className="block dark:hidden" />

  <img src="https://mintlify.s3.us-west-1.amazonaws.com/noxity/images/cpanel/email-management/spam-filters/page-dark.png" alt="Spam Filters with Apache SpamAssassin toggle, threshold, and lists" className="hidden dark:block" />
</Frame>

## How SpamAssassin scores work

Every incoming message gets a score. Higher score = more spam-like. The default threshold for "spam" is **5**. Anything above that is flagged.

The score isn't binary; it's a weighted sum of dozens of small signals: blocklisted IP (+1.5), suspicious subject (+0.8), legitimate DKIM (-0.3), well-known sender domain (-0.5), and so on.

## Settings on this page

<AccordionGroup>
  <Accordion title="Apache SpamAssassin">
    Master toggle. **Off** means no spam filtering at all on this account; mail flows through untouched. Always leave on.
  </Accordion>

  <Accordion title="Spam Threshold Score">
    The score above which mail is flagged. Default 5.

    * Lower (e.g. 3) catches more spam but also flags more legitimate mail.
    * Higher (e.g. 8) only catches obvious spam, lets borderline through.

    Start at 5 and adjust if your inbox is getting too much/too little.
  </Accordion>

  <Accordion title="Spam Auto-Delete">
    The score above which mail is **deleted outright** instead of just flagged. Off by default. If you turn it on, set the threshold higher than the spam threshold (e.g. spam at 5, auto-delete at 10) so only the most-obviously-spam messages are dropped.

    <Warning>
      Auto-delete is destructive. Mail above the threshold disappears with no record. Start with the threshold high (10+) and lower it cautiously after watching false positives.
    </Warning>
  </Accordion>

  <Accordion title="Spam Box (deliver to spam folder)">
    Sends flagged mail to a separate `INBOX.spam` folder instead of the inbox. Recommended over auto-delete: you keep the spam in case of a false positive but it's out of your way.
  </Accordion>

  <Accordion title="Allowlist (Whitelist)">
    Senders or patterns that should never be flagged. Useful for newsletters or vendors whose mail occasionally trips the spam threshold. Patterns support `*` wildcards: `*@trusted-vendor.com`.
  </Accordion>

  <Accordion title="Blocklist (Blacklist)">
    Senders or patterns that should always be flagged regardless of score. Use for known-bad domains.
  </Accordion>
</AccordionGroup>

## Recommended setup

For most accounts:

* **Spam Threshold:** 5 (default)
* **Spam Auto-Delete:** off, or set very high (10+)
* **Spam Box:** on
* **Allowlist:** add senders you find in spam who shouldn't be
* **Blocklist:** add senders you keep getting unwanted mail from

This catches spam without losing it, and adapts over time as you tune the lists.

## Tips

* **Spam Box surfaces false positives.** Check it weekly. If a real sender keeps landing there, add them to the allowlist.
* **Don't fight individual messages with rules.** SpamAssassin's score is the strongest signal. If something flagged is wrong, allowlist the sender; don't write a Global Filter to override the score.
* **Per-mailbox refinement.** SpamAssassin is global to the account. For per-address tuning, use [Email Filters](/web-hosting/cpanel/email-management/email-filters) on top.

## Need a hand?

<CardGroup cols={2}>
  <Card title="Open a ticket" icon="life-ring" href="https://members.noxity.io/submitticket.php">
    Best for anything that needs an account check or a config change on our end.
  </Card>

  <Card title="Live chat" icon="messages" href="https://noxity.io/contact">
    Faster for quick questions during business hours.
  </Card>
</CardGroup>
