- Login to cPanel.
- Locate and click on the "Account Level Filtering" icon within the "Mail" category.
- Click on the "Create a new filter" button.
- Create the rules for the new spam filter. In the example below, we are blocking all emails with "Free Money" in the subject line:
- Click the "Activate" button to apply the spam filter to all accounts on the domain.
![Open the Account Level Filtering page within cPanel.](images/kb/email/how-do-i-create-an-email-spam-filter/1.jpg)
![Click on the create a new filter button.](images/kb/email/how-do-i-create-an-email-spam-filter/2.jpg)
![Create the rules for the spam filter.](images/kb/email/how-do-i-create-an-email-spam-filter/3.jpg)