Home > The six-layered secret of effective Exchange Server email filtering
Tutorial:
EMAIL THIS LICENSING & REPRINTS

The six-layered secret of effective Exchange Server email filtering

21 Feb 2008 | SearchExchange.com

Exchange Server tips, tutorials and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google

Blocking spam and protecting your email system from viruses, while continuing to deliver legitimate messages, is an ongoing challenge for most organizations. Antispam and antivirus software are obvious points of protection, but there are many other email filtering mechanisms you can use to enhance the effectiveness of your spam and virus fighting efforts.

Microsoft recommends a six-layered approach to message hygiene. Each layer filters unwanted messages differently and at a unique access point on the system. This tutorial explains how to implement these six layers of spam and virus protection on Exchange 2003 or Exchange 2007.

SIX LAYERS OF EFFECTIVE EMAIL FILTERING
   Layer 1: External filtering
   Layer 2: Connection filtering
   Layer 3: SMTP filtering
   Layer 4: Antispam filtering
   Layer 5: Antivirus filtering
   Layer 6: Client-level filtering

  Layer 1: External filtering Return to Top

External filtering typically refers to hosted filtering, which involves allowing a third party to eliminate most obvious spam before it's delivered to your organization. For example, your organization may receive two million spam messages a day, which can consume a great deal of Internet bandwidth and server processing power. Instead of using resources trying to eliminate unwanted messages, you can use a hosted filtering service.

By doing so, you point an MX record for your domain to a filtering company's server, rather than to your own mail server. The filtering company removes the most obvious spam without acknowledging that messages have been removed, and forwards the remaining messages to your organization.

  Layer 2: Connection filtering Return to Top

Connection filtering checks the IP address of the server that sent the message. It then compares that address with a real-time blacklist.

This approach isn't perfect -- IP addresses can be spoofed, and legitimate senders sometimes send messages from blocked IP addresses. However, connection filtering does help to some degree.

In Exchange Server 2007, connection filtering usually takes place at the Edge Transport server. An Edge Transport server performs various message-hygiene tasks before messages are delivered to the Hub Transport server.

  Layer 3: SMTP filtering Return to Top

SMTP filtering works on a number of levels. First, the SMTP filter typically checks the structure of an inbound message. If the SMTP packet is malformed, or if the sender is blank, it assumes that the message is unwanted and should be filtered out.

SMTP filtering can also be used to view a message's sender. The sender can be cross-referenced against a blacklist, which may contain email addresses of known spammers. The blacklist also can contain entire domains from which email should be rejected.

Both Exchange 2003 and Exchange 2007 support the use of a Safe Senders List, which can acknowledge that messages from specific senders or domains are safe, even if those senders or domains are blacklisted.

  Layer 4: Antispam filtering Return to Top

Previous message hygiene levels were geared toward eliminating spam, so the antispam filtering level might seem redundant. However, in this level, the contents of a message are examined to determine if it's spam.

Exchange 2003 and Exchange 2007 perform antispam filtering in different ways. Exchange Server 2003 uses Intelligent Message Filtering (IMF). This means that Exchange examines different criteria for each message, and uses that criteria to calculate a Spam Confidence Level (SCL) value. An SCL is a percentage assigned to an incoming message based on the likelihood that it is spam.
More Exchange Server antispam resources:
Learning Guide: How to fight spam on Exchange Server

Crash Course: Exchange Intelligent Message Filter

Ask the Expert: Configure IMF's Gateway SCL to improve spam filtering

Phishing email and spam filters

How to install and configure an Edge Transport server for Exchange 2007

An Exchange server can be fine-tuned to take various actions based on the SCL. For example, if a message has an SCL of 9, which indicates that the message is 90% likely to be spam, your Exchange server could be set to delete the message automatically.

Exchange Server 2007 uses the Content Filter Agent as an alternative to IMF. The Content Filter Agent performs the same function as the Intelligent Message Filter, but is more advanced. The Content Filter Agent also considers whether Microsoft Outlook sent the message, and whether or not anyone in the organization has the sender on his/her Safe Senders List. Unlike IMF, the Content Filter Agent updates automatically.

Spammers generally use bots to send spam. But because Microsoft Outlook isn't efficient enough to blast large volumes of email messages, it's less desirable to spammers than other email delivery systems. Therefore, a message created in Outlook isn't likely to be spam. Outlook 2007 is designed to digitally sign messages to prove that they were sent from Outlook.

  Layer 5: Antivirus filtering Return to Top

The fifth level of message hygiene processing is antivirus filtering, which sorts out messages containing malicious attachments. Antivirus filtering is often performed at the external filtering level. For example, the ISP that hosts my domain scans inbound email for viruses as a part of the hosted filtering service.

Microsoft lists antivirus filtering as the fifth level of message hygiene processing, but it's good practice to scan for viruses earlier in the filtering process. Compared to the volume of spam that comes into the organization, few messages contain attachments. If you scan for viruses first, then you don't have to worry about processing any of the email that contains viruses, because it would have already been deleted.

  Layer 6: Client-level filtering Return to Top

Client-level filtering refers to any spam or antivirus filters that run at the workstation level. Microsoft Outlook 2003 and Outlook 2007 both use Smart Screen-based spam filtering -- the same filtering technology that IMF uses. This removes the most obvious spam at the server level; users can adjust their own spam filters to control how aggressively remaining messages are filtered, and what happens to suspected spam.

About the author: Brien M. Posey, MCSE, is a Microsoft Most Valuable Professional for his work with Exchange Server, and has previously received Microsoft's MVP award for Windows Server and Internet Information Server (IIS). Brien has served as CIO for a nationwide chain of hospitals and was once responsible for the Department of Information Management at Fort Knox. As a freelance technical writer, Brien has written for Microsoft, TechTarget, CNET, ZDNet, MSD2D, Relevant Technologies and other technology companies. You can visit Brien's personal Web site at www.brienposey.com.

Do you have comments on this troubleshooting guide? Let us know.

Please let others know how useful this tip was via the rating scale below. Do you know a helpful Exchange Server, Microsoft Outlook or SharePoint tip, timesaver or workaround? Email the editors to talk about writing for SearchExchange.com.

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
Antispam Software and Spam Filtering
Secure Edge Transport servers using the Security Configuration Wizard
Create a global Safe Senders List in Exchange 2007 to filter spam
Migrating antispam settings from Exchange 2003 to Exchange 2007
Top 10 Exchange, Microsoft Outlook and OWA email security tips of 2007
Troubleshoot Microsoft Outlook email delivery problems
Microsoft Outlook and Exchange Server 2003 Email Security Guide
Top 5 Exchange Intelligent Message Filter add-on tools
Locate 'missing' SPF record on an external DNS domain
Native Exchange Server 2003 antispam solutions
Configure IMF's Gateway SCL to improve spam filtering
Antispam Software and Spam Filtering Research

Antivirus Software and Virus Protection
Secure Edge Transport servers using the Security Configuration Wizard
Microsoft Outlook and Exchange Server 2003 Email Security Guide
How to install and configure an Edge Transport server for Exchange 2007
Process, compress and block Microsoft Outlook email attachments
How to configure attachment blocking in Outlook Web Access
Beware of bare linefeeds in Exchange Server email
Dell, Symantec simplify Secure Exchange for SMBs
Unsecured devices worry IT professionals
Dell and Symantec bundle hardware, security
Online crime as ugly as ever

Outlook and Outlook Web Access Tips
How to improve Outlook Web Access (OWA) security
Alleviate Outlook Web Access (OWA) email attachment security issues
Tool exports messages from Microsoft Outlook to Unix .EML file format
DetachPipe: Outlook add-in tool saves and restores email attachments
Customizing Outlook Web Access (OWA) in Exchange Server 2007
Install the Outlook Connector to use Hotmail in Microsoft Outlook
Fix OWA message size limit issue after Exchange 2007 SP1 upgrade
How to customize OWA authentication logon in Exchange Server 2003
Control Microsoft Outlook .PST file size and usage via the registry
Preview PDF files from Microsoft Outlook 2007 and Windows Vista

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
greylist  (SearchExchange.com)
hash buster  (SearchExchange.com)
image spam  (SearchExchange.com)
KnujOn  (SearchExchange.com)
Sender ID  (SearchExchange.com)
spam confidence level  (SearchExchange.com)
spamblock  (SearchExchange.com)
spim  (SearchExchange.com)
tarpitting  (SearchExchange.com)
teergrube  (SearchExchange.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsWebcastsWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2004 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts