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 Users Found This Useful
這篇文章有幫助嗎?

相關文章

How do I view a simple summary of all the people who have visited my web site? (Uses Analog Stats)

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

How do I view how much disk space my web hosting account is using?

Overview You can modify the amount of disk space allocated to any of the available FTP accounts....

How do I configure the system to catch spam emails? (Uses SpamAssassin)

Overview SpamAssassin and SpamBox allow you to identify spam mail and flag it or prevent it from...

How do I password protection a directory?

Overview Password protection allows you to require a username and password to access a folder...

How do I redirect a web site or web page to another web site or web page?

Overview Redirects are used when you want to point a specific url or web page to another...

Powered by WHMCompleteSolution