How to add an e-mail filter?

You can block an e-mail using spam filters. There are many definitions of spam, but one particularly useful one is the following:
 
"Spam is the electronic version of junk mail, and has been around since the Internet was created. E-mail filters are a way of filtering your e-mail to remove unwanted mail based on a variety of criteria. You can block any sort of e-mail, not just mail of a commercial nature. Blocked mail can be deleted automatically or sent to another e-mail address or script".
 
To add an e-mail filter:
  1. Click on the E-mail Filtering link in the Mail 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 e-mail 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.
    • 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. Enter the destination for the filtered e-mail in the Destination field. There are three 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.
    • Redirect to a script - Enter the full script path on the machine that hosts your web site.
  7. Click on the Activate button.
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

What do I need to do to put Flash on my website?

Flash is a client side feature - it runs on the user's computer, not on your web host. As long as...

How do I track how many hits my website gets?

Tracking on your site can be either done server-side or remotely. With server-side statistics,...

What are PHP, ASP, perl, etc?

These are all programming languages which are referred to by their acronyms.PHP - PHP: Hypertext...

How do I login to my domain's cPanel?

you can login to your cPanel by going to www.yourdomain.com/cpanel (yourdomain is...

Do I have to change my domain if I get a new host?

No. Provided that the domain is registered in your name (as it should be), you can simply update...

Powered by WHMCompleteSolution