Enterprise Software

Tech Tip: Eliminate Exchange nondelivery report attachments

Follow these steps to reduce the use of server resources and bandwidth when sending an NDR with attachments.

Exchange 2000 Support Pack 2 introduced a registry setting that can strip attachments from a nondelivery report (NDR) when the NDR is over a configurable size limit. Implementing this registry setting reduces the use of server resources and bandwidth when sending an NDR with attachments.

Follow these steps:

  1. Open the Registry Editor (Regedt32.exe).
  2. Navigate to HKEY_LOCAL_MACHINE\System\CurrentControlSet\ Services\SMTPSVC.
  3. Go to Edit | Add Key.
  4. Add a registry key named Queuing, and leave the Class blank.
  5. Select the Queuing key, and go to Edit | Add Value.
  6. Add the following values:
    Value name: MaxDSNSize
    Data type: REG_DWORD
    Radix: Decimal
  7. In the Data area, enter an NDR message size limit (in bytes). NDRs that exceed the size limit won't return an attachment.
  8. Click OK, and close the Registry Editor.
  9. Restart the SMTP service for your changes to take effect.

Stripping attachments in this manner results in a couple of side effects: Exchange also strips some details from the message, along with the attachment, which prevents the NDR recipient from resending the message. This means that you must recompose the message before you can send it again. Stripping message details also prevents the NDR from displaying in Outlook's Preview Pane.

Note: Editing the registry is risky, so make sure you have a verified backup before making any changes.

Editor's Picks

Free Newsletters, In your Inbox