# How to set up the anti-spam filter?

By activating the **Spam Assassin Antispam Filter**, you will be able to stop the spam messages you receive in your email boxes.

### Accessing the Antispam Filter

1\) Log in to the [Client Area](https://github.com/sitioshispanos/gitbook-helpdesk-en/blob/master/guias/client-area/accessing-the-client-area.md) and click on **Services**, then on **My Services**

<figure><img src="https://github.com/sitioshispanos/gitbook-helpdesk-en/blob/master/.gitbook/assets/ClientAreaMyServices.png" alt=""><figcaption></figcaption></figure>

2. From the list of hosting plans you have, access the one where you want to activate the **Antispam Filter**.

<figure><img src="https://github.com/sitioshispanos/gitbook-helpdesk-en/blob/master/.gitbook/assets/ClientAreaChooseAccount.png" alt=""><figcaption></figcaption></figure>

3. On the new screen, you will see, in the **Actions** box on the left, the option to access the **cPanel** control panel. You will also see, in the **Technical Information** central box, the direct access to the panel from your browser.

<figure><img src="https://github.com/sitioshispanos/gitbook-helpdesk-en/blob/master/.gitbook/assets/ClientAreaAccessCpanel01.png" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
If your hosting plan uses **Plesk**, you will find the access in this [link](https://github.com/sitioshispanos/gitbook-helpdesk-en/blob/master/guias/paneles-de-control/panel-de-control-cpanel/correo-electronico/herramientas-utiles/configure-antispam-filter.md#change-password-and-other-options-in-plesk).
{% endhint %}

4. Once in the **cPanel** control panel, go to **Spam Filters**, in the **Email** box

<figure><img src="/files/j9UpnR260dAPopoeOwtw" alt=""><figcaption></figcaption></figure>

5. First, activate the options that interest you for your filter. You will see three options:

#### **Process new emails and mark them as spam:**

This option is the filter itself. You must activate it for the other options to be processed.

#### **Move new spam to another folder (Spam Box):**

This option will create a spam folder in your email boxes. Detected spam will be automatically moved to this folder.

#### **Automatically delete new spam (automatic deletion):**

This option will automatically delete emails detected as spam. It is recommended to set a higher rigor in this option than in the normal filter.

<figure><img src="/files/Km2wDfsS19ps8JPjGwnh" alt=""><figcaption></figcaption></figure>

**Spam Threshold Score**

In these options of the Antispam Filter, you will see a link called **Spam Threshold Score** with a specific value.

This is the rigor of the filter. It is recommended to set a value of **8** for a not too rigorous filter or a value of **5**, which will make it slightly more rigorous. It is not recommended to set it below **4** or it could filter legitimate emails.

#### Manage Whitelists and Blacklists

Below the main options of the Antispam Filter, you will find an option called **Show additional settings**.

This option will open the **Whitelists** and **Blacklists** manager.

<div align="left"><figure><img src="/files/HmxkqseSoltXLzP3x6Q5" alt=""><figcaption></figcaption></figure></div>

Within each type of list, you can define domains or email addresses that you always want to accept or block. This way, you will ensure that certain emails always arrive or are always blocked by the Antispam Filter.

<div align="left"><figure><img src="/files/zDErrKLqB90FNUIFqzt9" alt=""><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="/files/VVmsQFhrTLfWL2U7SwYH" alt=""><figcaption></figcaption></figure></div>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.sitioshispanos.com/menu-principal/guias/correo-electronico/herramientas-y-opciones-de-correo-utiles/configurar-el-filtro-antispam.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
