How do I setup email filters?

Overview

You can use email filters to send messages to certain places depending on their content. You can use filters to sort mail between business and pleasure, to delete unwanted mail, or to sort mail in another manner.

Creating an Email Filter

Steps
  1. Click on the Add Filter button in the "Create Filter" section.
  2. The first setting is the "Filter" definition. Two drop down menus and a text box will be available. The first drop down menu contains the following information:

Options 1

  • From
  • Subject
  • To
  • Body
  • Any Header
  • SpamAssassin Spam Header

Select one of the above options from the "Options 1" drop down menu. This option will be used to specify the actual components of email to filter.

NOTE: To filter all mail that SpamAssassin has marked as spam, just choose "SpamAssassin Spam Header", "begins with", and then enter "Yes" in the box.

The second drop down menu includes the following:

Options 2

  • equals
  • matches regex
  • contains
  • begins with

Select one of the above options from the "Options 2" drop down menu. This option will be used to specify how you want to filter the actual components of email.

Filter Text

The text box that follows the first two drop down menus should include the word or key word you want to use when filtering email. Enter your filter in the text box.

  1. The next option is the "Destination" or location of where the filtered email should be sent. See the example below:

EXAMPLE: "Discard", "|/home/user/email.pl" or "[email protected]" (without quotes).

  1. Click on the Activate button.
  2. You will see the following statement:
    • "A filter has been added that sends all mail OPTION_1 that OPTION_2 FILTER_TEXT to DESTINATION"
  3. Click on the Go Back link.
  4. When the page loads, you will see a two-column table consisting of the following information:
    • Filter - This entry contains the filter you setup in the steps above.
    • Destination - This entry contains the location you chose for the "Destination" option in Step 3 above.
    • Delete - Click on the x in a circle icon to delete the filter.
  5. Assuming you have followed Steps 1-6 above, you can now test your new filter. View the "Filter Test" section and enter a complete e-mail message (including headers) in the "Filter Test" text box to see how it will be processed with the current filters in place.
  6. Click on the Test Filter button.
  7. The "Test Filter" results will be shown when the page loads. If you have any errors or problems with the email filter, contact your hosting provider's support department for further assistance.
  • 0 Utilisateurs l'ont trouvée utile
Cette réponse était-elle pertinente?

Articles connexes

How do I install FrontPage extensions?

Overview Frontpage® Extensions allow you to publish your site directly from the...

How do I view the last 300 people that have visited my web site?

Overview Analog produces a simple summary of all the people who have visited your site. It is...

How do I create a backup of my web site, directory or hosting account?

Overview Backups allow you to download (to your computer) a zipped copy of either you entire...

How do I convert an image to a jpg, gif, bmp, or png?

Overview cPanel 11 includes an Image Manager that allows you to view and modify images in your...

How do I view the raw access logs of visitors to my web site?

Overview Raw Access Logs allow you to see who has accessed your site without the use of graphs,...

Powered by WHMCompleteSolution