How to filter unwanted e-mail (spam)
This article describes how to set up your e-mail account to filter messages marked as spam and automatically redirect them to a folder.
This article assumes that you have already enabled and configured Spam Filters. If you have not done so, please read this article
Filtering unwanted e-mail (spam)
After you have enabled Spam Filters, it uses scores to mark suspicious messages as spam. You can have Spam Filters automatically delete these messages. However, in this scenario, you may occasionally lose legitimate messages that are mistakenly marked as spam (these are known as “false positives”).
Alternatively, you can redirect all messages marked as spam into a separate folder in your account. You can check this folder periodically to see if any legitimate messages were mistakenly marked as spam.
If you use a third-party email client application (such as Thunderbird or Outlook), you can set up this filtering directly on the client. However, you can accomplish the same effect by using email filtering rules defined in cPanel. To do this, follow these steps:
- Access your email account using webmail or an email client application.
- Create a folder named Spam.
If you are using an email client application, you may also need to subscribe to the Spam folder.
- Log in to cPanel.
- In the Email section of the cPanel home screen, click Email Filters.
- Locate the account for which you want to add a spam filter, and then click Manage Filters.
- In the Filter Name text box, type the filter name. For example, type Spam Filter.
- Under Rules, specify the filter rules:
- Under Actions, select Deliver to folder.
- Click . A list of folders for the email account appears.
- Click the Spam folder.
. cPanel activates the filtering rule for the account, and messages marked as spam are now redirected to the Spam folder.
There are many other ways to define filter rules besides the rule described in steps 8 and 9 above. For example, you could define one filter that redirects messages with a score higher than 5 to your Spam folder, and another filter that deletes messages with a score higher than 8. To do this, use the Spam Score option instead of the Spam Status option.
- Email Filtering
You can use cPanel’s email filters to block certain messages based on conditions that you define.
- Unwanted email (spam)
Unsolicited e-mail (spam) is annoying. Learn how to enable and configure Spam Filters (powered by Apache SpamAssassin™) in cPanel to reduce the amount of spam your e-mail accounts receive.
- Preventing outgoing e-mail from being marked as spam
There are several steps you can take to help prevent your outgoing messages from being marked as spam. Also, learn what to do if an organization like Spamhaus blacklists your IP address.