cPanel

How to set up Spam Filtering on individual mailboxes

This guide explains how to setup a custom filter on your Ecenica account to apply spam filtering to an individual email address instead of the default setup of spam filtering for all mailboxes on your Ecenica hosting service.

If you are looking for the easiest way to apply spam filtering to your Ecenica email accounts please see Using SpamAssassin .

Setup a Spam Filter for a Single Email Account

  1. Log in to cPanel.
  2. Click Spam Filters.
  3. Click Process New Emails and Mark them as Spam to toggle it on.
  4. Check Move New Spam to a Separate Folder (Spam Box): is Disabled.
  5. Click Home to return to the cPanel home screen.
  6. Click Email Filters.
  7. Click Manage Filters for the mailbox you wish to apply spam filtering to.
  8. Click Create a New Filter.
  9. Enter a Filter Name. For example, SpamFilter.
  10. From the rules dropdown list, select Spam Status
    Filter By Spam Score
  11. Select begins with.
  12. Enter Yes.
  13. From the actions dropdown list, select Deliver to Folder.
  14. Enter /.spam.
  15. Click Create.

The filter will now automatically move any emails marked as Spam by the Ecenica SpamAssassin spam filter to your spam folder for this single email address.

The filter will now automatically move any emails marked as Spam by the Ecenica SpamAssassin spam filter to your spam folder for this single email address.

Advanced

How to Create a Filter Based on Spam Score

You can create a filter that will only apply to messages marked with a certain spam score. This allows you to fine-tune and choose the exact spam level your user filter will run at.

  1. Log in to cPanel.
  2. Click Spam Filters.
  3. Click Process New Emails and Mark them as Spam to toggle it on.
  4. Check Move New Spam to a Separate Folder (Spam Box): is Disabled.
  5. Click Home to return to the cPanel home screen.
  6. Click Email Filters.
  7. Click Manage Filters for the mailbox you wish to apply spam filtering to.
  8. Click Create a New Filter.
  9. Enter a Filter Name. For example, SpamFilter.
  10. From the rules dropdown list, select Spam Bar.
  11. Select contains.
  12. Enter +++++
    Note: This will filter emails at a spam score of 5 or more. To filter at a spam score of 2, use 2 ++ symbols. The maximum spam score is 10, and the minimum is 1. 10 is the weakest (most spam will be let through) and 1 is the strongest (most normal email may be filtered).
    Filter By Spam Score
  13. From the actions dropdown list, select Deliver to folder.
  14. Enter /.spam.

Was this guide helpful?

Need help with this?

Open a ticket and link to this guide so our team can see what you have tried.

View support tickets

Power your business with Ecenica Hosting

Built for WordPress and serious websites. Fast, secure and supported by real people in the UK.

Ecenica hosting services represented by a connected red route across London