> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.namehero.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How To Enable Apache SpamAssassin™

For those that wish to keep their email server-side, Apache SpamAssassin™ has been helping fight the good fight for nearly two decades.

Apache SpamAssassin is an intelligent email filter that uses a diverse range of tests to identify unsolicited bulk email, more commonly known as spam. These tests examine email headers and content to classify email with advanced statistical methods.

When configured properly, you can re-claim your inbox without having to use third-party service providers or expensive software. Apache SpamAssassin is 100% free and part of every account here at NameHero.

By default we have the software enabled, but still allow it to process new emails, marking suspicious messages as spam. You can control/modify to meet your exact needs by going into **cPanel -> Spam Filters**:

[![](https://storage.crisp.chat/users/helpdesk/website/c47b4e9eb1e49800/a4dd2dc4-7fa3-40e0-8f1d-d751c6_isvi32.png)](https://downloads.intercomcdn.com/i/o/1013314196/3bfffab97945215afa7c78da/Screenshot+2024-04-05+165140.png?expires=1728569700&signature=eb9bd9bd6da7af4cb6c3418f1ecd720211ab157dd03fb5062c0c7460435f8f09&req=dSAmFcp%2FmYBWX%2FMW1HO4zcVj%2FKpXj0Hf%2FxqedK8MyF21sfal5Oyp50zkT9AM%0AlC7bZqnr6jPYv6z91vo%3D%0A)

From here, you can disable the default filter (not recommended), configure auto-delete, or set some unique filters:

[![](https://storage.crisp.chat/users/helpdesk/website/41a93abe0b752c0/5908c5a2-ced6-496b-a602-fd7a4d_1a64998.png)](https://downloads.intercomcdn.com/i/o/273508537/486edc337336eda34b3f303d/Screen+Shot+2020-12-03+at+2.56.28+PM.png?expires=1728569700&signature=2ad3c6fa444cde3da2084ed82bcde57fa8a3f01413409c6c1f2d73d31f1a46f8&req=dickE8l2mIJYFb4f3HP0gCju99Qpe%2FQFMnzXgRzHnk7NLdOQf5%2FaCM%2FENJY8%0An8vdIYwa%2BNTczwzFDg%3D%3D%0A)

**Spam Threshold Score** - You'll notice in the screenshot above, the _default spam threshold score is 5_. This setting determines how aggressive emails are scanned. If you click the link you can adjust this:

[![](https://storage.crisp.chat/users/helpdesk/website/12c0bca522b93b00/ae794dd5-b387-405c-907d-0ae2f9_rau54x.png)](https://downloads.intercomcdn.com/i/o/273509396/d980fa1904adcbceac56e260/Screen+Shot+2020-12-03+at+2.58.34+PM.png?expires=1728569700&signature=fa5d904ca0cad0be02fe24cfe9487ebd2f35516329a529ef1686524b09c53233&req=dickE8l3nohZFb4f3HP0gJiZM3qDKViq2IBvn7cJ%2Fy83S%2B7I94h2BPAtRjJI%0A97%2BHvG3CGswVO2FzXg%3D%3D%0A)

Spam messages score higher calculated spam scores than regular messages. If a message’s calculated spam score meets or exceeds the Spam Threshold Score, the system will label that message as spam.

_For example, an account that uses a Spam Threshold Score of 10 will only mark messages that are obviously spam. A Spam Threshold Score of 2 will label many messages as spam, which includes messages that are likely **not** spam._

We recommend that new users use the default setting of 5. We recommend that an ISP set this score to 8. The Spam Threshold Score does not affect the Auto-Delete Threshold Score.

**Automatically Delete New Spam (Auto-Delete)** - Enable this option to automatically delete spam messages. The Auto-Delete option permanently deletes new emails with a calculated spam score greater than the Auto-Delete Threshold Score. This setting isn't recommended as it's possible a false-positive could mean missing an intended email without the original sender ever knowing it failed.

**Additional Configurations** - Most users won't need to modify these, but if you're having regular issues of legitimate emails being marked as Spam, you can whitelist addresses here so they'll always be processed. Likewise, if you're constantly receiving bulk/unwanted email from a specific email address (or domain) you can setup Blacklists to always mark as spam. You can also "tweak" the Spam Score Settings a bit to be more specific to your needs.

For us internally, we whitelist any emails from our own domain (i.e. namehero.com), to ensure all of our team members are able to communicate efficiently without ever missing an email.

## How To Prevent And Filter Email Spam In cPanel

I've filmed a video walkthrough on the [Official NameHero YouTube Channel](https://www.youtube.com/c/Nameherocom?sub_confirmation=1) to explain more specifically the functionality of **Apache Spam Assassin**:

${frame}[](https://www.youtube.com/embed/CFsATYlsIWo)