+ Reply to Thread
Results 1 to 1 of 1
Thread: Steps for creating email filter
-
Administrator
- Join Date
- Jan 2010
- Posts
- 65
Steps for creating email filter
Please see the steps below :
1. Go to the E-mail Filtering link in the Mail area of cPanel.
2. Click on the Add Filter link.
3. Click on the required header field in the first drop-down list. These are the various fields in any e-mail message; such as the sender, subject line, etc. This is what the filter will look for when email comes in, and will take appropriate action if necessary.
4. Click on the required filter action in the second drop-down list. This action will act on the text entered in the third field.
* equals - match the text exactly (whole words only). "Credit" will block "Credit".
* matches regex - matches the text based on regular expression (regex) rules. Regular expressions are a powerful but complex area. You do not need to use regular expression filters for most circumstances.
* contains - match the specified text in any circumstance. "porn" will block "porn" and "pornography".
* begins with - match the specified text when it is the beginning of a word. "porn" will block "porn" and "pornography" but not "teenporn".
5. Enter the filter text in the third field, based on the information provided above. This text is CaSe SeNsItIvE.
6. Enter the destination for the filtered e-mail in the Destination field. There are two separate types of destination:
* Destroy the e-mail - Enter Discard in the field.
* Redirect to another address - Enter the e-mail address to which to redirect the e-mail.
7. Click on the Activate button.
Examples:
* To redirect all e-mail from "john@gmail.com" to you@yourdomain.com, enter: From, equals, you@gmail.com, you@yourdomain.com
* To delete all e-mail from gmail.com, enter: From, contains, gmail.com, Discard
* To delete all references to pornography, enter: Any Header, contains, porn, Discard
* To discard all e-mail that Spam Assassin has marked as spam, enter: SpamAssassin Spam Header, begins with, yes, Discard
Hope the above steps helps you to setup an email filter easily.


LinkBack URL
About LinkBacks



Reply With Quote