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
    Top 10 Microsoft Exchange Server tips of 2008
    Database changes that enhance Exchange Server 2007 fault tolerance
    How continuous replication methods affect Exchange 2007 log shipping
    Analyzing Exchange ActiveSync data from .CSV report files
    How to run Exchange Management Shell cmdlets in Exchange Server 2007
    Eliminate .PST file use for secure email retention in Exchange 2007
    Exchange Server 2007 log shipping and continuous replication
    Benefits of backing up Exchange Server with Microsoft's DPM 2007
    Exchange Server 2007 replication and database transaction basics
    Microsoft Exchange Server 2003 database recovery methods

    Microsoft Exchange Server Non-Delivery Reports (NDRs)
    Troubleshooting Microsoft Exchange Server Event ID error 6009
    A network connection problem or an offline server prevented delivery of the message
    Third-party tools that modify NDRs for oversized email
    SMTP 550 relay error when sending large attachments
    Not receiving email messages that have file attachments
    How to strip email attachments from Exchange NDR failure notifications
    Exchange Server error message: 'A non-delivery report with a status code of 5.4.0 was generated for recipient'
    How to select the mailbox account that sends Exchange NDRs
    'You do not have permission to send to this recipient' errors
    AQADMCLI: Command-line SMTP queue management for Exchange Server

    RELATED GLOSSARY TERMS
    Terms from Whatis.com − the technology online dictionary
    bounce e-mail  (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 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  |  Site Map




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