Home > Microsoft Exchange Tips > Exchange Server Administration Tips > Stripping attachments from non-delivery reports
Exchange Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

EXCHANGE SERVER ADMINISTRATION TIPS

Stripping attachments from non-delivery reports


Serdar Yegulalp
10.04.2005
Rating: -4.00- (out of 5)


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


Please let others know how useful this tip is via the rating scale at the end of it. Do you have a useful Exchange or Outlook tip, timesaver or workaround to share? Submit it to our tip contest and you could win a prize.


Non-delivery reports (NDRs) are messages automatically generated by Exchange when a particular piece of e-mail cannot reach its intended recipient. If the send operation fails, the sender receives a report that provides details about the failed message.

Any attachments associated with a failed message are typically included in an NDR. However, if you're dealing with bandwidth or disk space considerations, you can force Microsoft Exchange to omit attachments in NDRs -- or at least exclude attachments larger than a certain size.

To enforce this rule:

  1. Open the registry of the Exchange server in question and navigate to:

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\SMTPSVC.

  2. Add a new key named Queuing (no class ID is needed).

  3. Inside Queuing, add a DWORD value named MaxDSNSize.

    This value is the maximum size of an allowed attachment (in bytes) on an NDR. You can set this to any size you feel is reasonable. For instance, if you don't want attachments over 64 K in NDRs, set this value to 65535 (decimal). The SMTP service will need to be reset for the value to take effect.

There are a couple of drawbacks to stripping attachments from NDRs. For one, you can't automatically resend any such "bounced" messages by using the Send Again option in the NDR. Removing attachments also gets rid of the details needed to resend the message as is.

On the other hand, if users retain a copy of all sent mail in Outlook or in an Exchange folder, they can always resend copies of failed messages from there.

This limit does not have an effect on NDRs generated by messages not sent by SMTP -- for example, an e-mail sent from one Exchange mailbox to another that isn't delivered properly.

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:

  • Reference Center: Non-Delivery Reports (NDRs)
  • Tip: Dealing with undeliverable messages in Exchange Server



    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   



    RELATED CONTENT
    Exchange Server Administration Tips
    Remove Exchange 2003 objects from AD to install Exchange 2010
    Don'ts for optimal Exchange 2007 mailbox server efficiency
    Is your Exchange 2007 hub transport server healthy?
    Avoid Outlook 2007 performance issues during repairs
    Developing an Exchange 2007 server role DR plan
    How DSAccess service improves Exchange Server 2007 reliability
    An introduction to the Exchange Remote Connectivity Analyzer tool
    Monitor Exchange 2007 with disk- and RPC-related counters
    DPM 2007 replica inconsistencies in Exchange databases
    Track Exchange 2007 mailbox server health using database counters

    Microsoft Exchange Server Mailbox Management
    Show hidden email addresses in a GAL on Exchange Server 2003
    Industry expert analyzes future of messaging
    Delivering email between Exchange server test and production domains
    Microsoft Outlook error message: 'Mailbox Size Limit exceeded'
    Restoring user accounts and mailbox links in Active Directory
    Problems receiving email from outside a Exchange Server 2003 domain
    Best practices for moving mailboxes in Exchange Server
    Exchange admins: Is it time to rethink your email address policy?
    Exchange Server 2003 collects email from only specific POP3 domains
    Troubleshoot 'System Attendant' error messages in OWA

    RELATED GLOSSARY TERMS
    Terms from Whatis.com − the technology online dictionary
    bounce email  (SearchExchange.com)
    messaging server  (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.



  • Email Server Solutions: Exchange 2007, Exchange 2003, Exchange 2000, SharePoint
    HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Site Map




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