1. Knowledge Base
  2. >
  3. Results
  4. >
  5. How to Create Blacklists

How to Create Blacklists

An email blacklist is a list of Domains and IP addresses that are suspected of sending spam emails. The email blacklist protects users from spam emails and decreases unwanted emails. You may use Apache SpamAssassin to create a "blacklist" to block unwanted email. With this tool, you can flag and filter out spam as it comes into the server.

Here are the steps on how to configure Apache SpamAssassin:

  1. Login to cPanel.
  2. Click the Apache SpamAssassin icon under the Email section.

    HostGator cPanel Apache SpamAssassin

  3. If you have not already, please enable Apache SpamAssassin by clicking the button to Enable Apache SpamAssassin.

    HostGator cPanel Enable Apache SpamAssassin

  4. Click the Configure Apache SpamAssassin button at the bottom of the page.

    HostGator cPanel Configure Apache SpamAssassin

  5. Enter any IP address or email address in the blacklist_from field.

    HostGator cPanel Apache SpamAssassin Add IP Address or Email

  6. Scroll down and click Save.