Home > Microsoft Exchange Tips > Exchange Security Tips > How defective DNS records damage Sender ID and Exchange Server
Exchange Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

EXCHANGE SECURITY TIPS

How defective DNS records damage Sender ID and Exchange Server


Serdar Yegulalp
11.01.2006
Rating: --- (out of 5)


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


The MSGFILTER.DLL file is the component that allows Exchange Server 2003 to perform Sender ID filtering on incoming email. It performs a DNS lookup on servers that incoming email is allegedly being sent from to verify the SPF record.

MSGFILTER.DLL then uses that information to determine whether or not that server has the right to send on behalf of the organization in question.

Unfortunately, if the SPF DNS record returned is badly formatted and cannot be processed properly by MSGFILTER.DLL, the incoming email connection is never closed by Exchange Server -- not even if you have a timeout value configured for inbound connections.

In extreme cases, this can cause memory leaks. More immediately, it can use up all of the available inbound connections to Exchange Server, since they're never being closed.

According to Microsoft's documentation on the issue, a related problem can also happen if the MSGFILTER.DLL performs a lookup on a DNS record that doesn't exist at all. The message gets assigned a bogus "TempError" status (i.e., a network failure). It's then simply passed along, instead of being stamped with a "Fail" status (which is normally the result of a malformed domain or nonexistent domain entry).

There are two solutions to the problem:

  1. If you identify that only a couple of domains that you're dealing with have badly formatted SPF records, you can temporarily block email from those organizations and contact their administrators in the hopes of having them fix the problem.

  2. Alternatively, you can obtain a recently released hotfix for MSGFILTER.DLL from Microsoft. It's only available from Product Support Services, but is free. Simply mention that you need the fix outlined in Microsoft Knowledge Base article 923346, The SenderID filter incorrectly lets an email message pass through Exchange Server 2003 when the DNS record does not exist.

A more permanent fix should be rolled into the next Service Pack for Exchange 2003.

About the author: Serdar Yegulalp is editor of the Windows Power Users Newsletter.

Do you have comments on this tip? Let us know.

Related information from SearchExchange.com:

  • Tip: Online tool simplifies the creation of SPF records
  • Tip: Configuring Microsoft Outlook to display Sender ID information
  • Tutorial: A primer on DNS and MX records
  • Learning Guide: How to fight spam on Exchange Server
  • Reference Center: Exchange Server and DNS tips and resources

    Please let others know how useful this tip was via the rating scale below. Do you have a useful Exchange Server or Microsoft Outlook tip, timesaver or workaround to share? Submit it to SearchExchange.com. If we publish it, we'll send you a nifty thank-you gift.

    Rate this Tip
    To rate tips, you must be a member of SearchExchange.com.
    Register now to start rating these tips. Log in if you are already a member.


    Submit a Tip




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


    RELATED CONTENT
    Exchange Security Tips
    OWA won't load after applying Exchange 2007 SP1 security patch
    Minimize remote and mobile Outlook Web Access (OWA) security risks
    Grant or deny permissions to access a user's Exchange 2007 mailbox
    Create a global Safe Senders List in Exchange 2007 to filter spam
    Migrating antispam settings from Exchange 2003 to Exchange 2007
    Deploying ISA Server as a firewall for Exchange Server mobile devices
    How to customize OWA authentication logon in Exchange Server 2003
    Exchange 2007 out-of-office (OOF) feature adds usability and security
    Configure Windows Mobile devices to local wipe after failed logons
    How to set up Exchange 2007 message classifications

    Microsoft Exchange Server and DNS
    How to configure DNS records for Exchange Server on Windows SBS 2003
    OWA stops working from external network connection
    Locate 'missing' SPF record on an external DNS domain
    Receiving 'failed MX lookup' delivery status notification
    IP address changes for an Exchange 2000 recovery server
    0xC103FC93 error with Exchange 2003 setup and install
    Set up FQDN and bridgeheads for POP3 and IMAP4 email
    Reverse DNS mismatches mark Exchange email as spam
    New Exchange Server installation not receiving SMTP or POP3 email
    Exchange Server user unable to send email to a specific domain

    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
    The six-layered secret of effective Exchange Server email filtering
    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
    Antispam Software and Spam Filtering Research

    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

    DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

  • 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