3.3. MAIL MENU
CHAPTER 3. HOW DO I USE CPANEL?
Also refer to page 26 for another approach to dealing with spam.
To add a spam filter:
1. Click on the Block an E mail link in the Mail Menu area.
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 email
message.
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.
Refer to these two good introductory tutorials   Using Regular Expressions and Learning to Use
Regular Expressions   for more information.
  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. This text is case sensitive.
6. Click on the
button.
Example:
To block all email from  john@paradise.net , enter: From, equals, john@paradise.net
To block all email from paradise.net, enter: From, contains, paradise.net
To block all references to pornography, enter: Any Header, contains, porn
Figure 3.14: Adding a spam filter
Deleting a spam filter
Delete a spam filter when you no longer need it. There is no way to modify a spam filter   if you have made a
mistake, simply delete the filter and start again.
To delete a spam filter:
1. Click on the Block an E mail link in the Mail Menu area.
2. Click on the
button next to the spam filter that you want to delete.
23




Unlimited Web Hosting




 
TotalRoute.net Business web hosting division of Vision Web Hosting Inc. All rights reserved.