Go Back   Web Design & SEO Company > Knowledgebase

Knowledgebase Articles and information about running a website, cPanel and various hints and tips. Here you will find tutorials on php, MySql, .htaccess, cron, SEO, Search Engines, CHMOD, FTP, CSS, HTML and various other hints and tips on running and Administrating a website.

Old 02-18-2007, 09:13 AM
Admin's Avatar
Join Date: Jan 2007
Location: Taree
Posts: 613
Default Email Filtering to Avoid Spam

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. These filters are quite flexible - some examples are provided after the instruction on how to add a spam filter below. All filters are cumulative.

To add an e-mail filter:

Click on the E-mail Filtering link in the Mail area.

Click on the Add Filter link.

Click on the required header field in the first drop-down list. These are the various fields in any e-mail message.

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".

Enter the filter text in the third field. This text is case sensitive.

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.

Click on the Activate button.


To redirect all e-mail from "john@domain.comt", enter: From, equals, john@domain.com, fred@other.com

To delete all e-mail from john@domain.com, enter: From, contains, domain.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
Reply With Quote
Top SEO Tool
Harvester and Mass Blog Commenter
Blog Comment Software

Old 02-18-2007, 09:14 AM
Admin's Avatar
Join Date: Jan 2007
Location: Taree
Posts: 613

Deleting a 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:

Click on the E-mail Filtering link in the Mail area.

Click on the Delete button next to the spam filter that you want to delete.
Reply With Quote
Old 11-02-2009, 11:03 AM
Junior Member
Join Date: Nov 2009
Posts: 1
Default Hi im kalam from ndia

I need a health (category) social bookmaking list which has good PR. And that list helps to increase the backlink of my site.
Please provide me a different list for social bookmarking.


Last edited by kalam; 11-03-2009 at 08:38 AM.
Reply With Quote
Old 12-04-2009, 11:00 PM
Join Date: Feb 2009
Posts: 61

Thanks for providing very important information... Because so many people are panic from these spam mails... So from that so many people feel some relax..
Reply With Quote
Old 12-19-2009, 12:35 AM
Senior Member
Join Date: Jun 2009
Posts: 222

Great post.. I was in search of something like that.. Because its headache for me for that Spam mails..
Reply With Quote
Old 04-06-2010, 10:48 AM
Senior Member
Join Date: Apr 2008
Posts: 164

Thank you so much!

I also use a spam filter to block all junk e-mails that I get daily....but still some e-mails do not go throuhgh it....do you know where the problem is?
Reply With Quote

Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Email Marketing Benefits nicolasb86 SEO 3 06-30-2010 11:11 AM
Spam PM Reporting Feature Admin Taree Internet Support 4 09-21-2009 06:11 AM
Spam Posts on the Forum JohnS0N Taree Internet Support 7 08-01-2009 12:37 PM
Live.com aka MSN Referrer Spam Admin SEO 8 06-10-2009 07:29 AM
SmileySupply.com Spam Admin SEO 1 06-10-2009 07:25 AM
Matt Cutts-Some Tips for countering Web spam coolslko SEO 1 05-05-2008 06:18 AM
Forwarders - Email Admin Knowledgebase 1 02-18-2007 08:39 AM

Knowledgebase | SEO | Free Scripts | Free Wordpress Themes | Free Graphics

eval gzinflate base64 decode | SEO Addons

Forum time zone is GMT. Currently it's 10:37 PM.

SEO - Top

Web Design & SEO Forums