> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.elitehost.co.za/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 can I allow or block email addresses using SpamAssassin?

**SpamAssassin**, included with all hosting packages, enables you to fine-tune spam filtering by adding email addresses or domains to **whitelists** (emails always allowed) and **blacklists** (emails never allowed). Follow these steps to manage your spam filter settings effectively.

| **Note**: Before managing whitelists or blacklists, ensure that SpamAssassin is enabled. For detailed instructions, refer to our guide: [I am receiving too much spam. How can I reduce it?](/en/article/i-am-receiving-too-much-spam-how-can-i-reduce-it-1b52nnm/).

### Whitelisting

Whitelists ensure you receive emails from trusted senders that SpamAssassin might incorrectly mark as spam. 

Steps to Add an Email Address to the Whitelist:

1. **Access Spam Filters**:
* Log in to **cPanel** and click on **Spam Filters** in the **Email** section.
   
2. **Show Additional Configurations**:
* Scroll down and click **Show Additional Configurations** to expand advanced settings.

3. **Edit Spam Whitelist Settings**:
* Click **Edit Spam Whitelist Settings**. This will direct you to the Whitelist interface.

4. **Add a New Email Address**:
* Click **Add A New "whitelist_from" Item**.
* Enter the email address or domain in the text box (e.g., `user@exampledomain.co.za` or `*@exampledomain.co.za` for all addresses at a domain).

5. **Save Changes**:
* Click **Update Whitelist (whitelist_from)** to save your changes.

### Blacklisting

Blacklists block emails from specific senders that SpamAssassin might falsely mark as non-spam.

Steps to Add an Email Address to the Blacklist:

1. **Access Spam Filters**:
* Log in to **cPanel** and click on **Spam Filters** in the **Email** section.

2. **Show Additional Configurations**:
* Scroll down and click **Show Additional Configurations** to expand advanced settings.

3. **Edit Spam Blacklist Settings**:
* Click **Edit Spam Blacklist Settings**. This will direct you to the Blacklist interface.

4. **Add a New Email Address**:
* Click **Add A New “blacklist_from” Item**.
* Enter the email address or domain in the text box (e.g., `user@exampledomain.co.za` or `*@exampledomain.co.za` for all addresses at a domain).

5. **Save Changes**:
* Click **Update Blacklist (blacklist_from)** to save your changes.

### Need Assistance?

If you need further help, please submit a ticket or email helpdesk@elitehost.co.za.