Option to strip attachments for messages that generate an NDR

This article was previously published under Q308303
This article has been archived. It is offered "as is" and will no longer be updated.
Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows registry
This article describes an option that you can enable on a computer that is running Exchange 2000 Service Pack 2 (SP2) or later to remove attachments if a message cannot be delivered. For more information about the latest service pack for Microsoft Exchange 2000 Server, click the following article number to view the article in the Microsoft Knowledge Base:
301378 How to obtain the latest Exchange 2000 Server service pack
Note Starting with Microsoft Exchange Server 2003 Service Pack 1 (SP1), Exchange Server will automatically remove an attachment that is 10 megabytes (MB) from DSN messages that are generated by the SMTP engine. The registry key that is specified in the "More Information" section can be used to modify the default behavior.
If you enable this option, you can save server and network resources. However, there are drawbacks to this implementation of Simple Mail Transfer Protocol (SMTP) attachment stripping. If you enable this option to strip the attachments from the non-delivery report (NDR), the details that are necessary to display the notification in the preview pane are also stripped, and the originator of the message cannot use the Send Again option. If the originator of the message tries to use the Send Again option from the NDR, the originator of the message receives the following error message:
Unable to resend the message. The nondelivery report does not contain sufficient information about the original message. To resend the message, open it in your Sent Items folder, click the Actions menu, and click "Resend this message".
However, the originator of the message cannot resend the message, even by using the method in the error message.

To enable this option, you need to edit the registry.

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
To enable this option:
  1. Start Registry Editor (Regedt32.exe).
  2. Locate and click the following key in the registry:
  3. On the Edit menu, click Add Key, add the following registry key, and then click OK:
    Key name: Queuing
    Class: Leave the class blank
  4. Click the Queuing registry key that you just added. On the Edit menu, click Add Value, and then add the following registry value:
    Value name: MaxDSNSize
    Data type: REG_DWORD
    Radix: Decimal
    Value data: This value is the size limit in bytes; messages that are larger than this value that generate an NDR do not return attachments or full message properties.
  5. Close Registry Editor.
You must restart the SMTP service for this registry change to take effect.
DSN, Transport XCON

Article ID: 308303 - Last Review: 12/06/2015 05:49:32 - Revision: 2.4

Microsoft Exchange 2000 Server Standard Edition, Microsoft Exchange Server 2003 Enterprise Edition, Microsoft Exchange Server 2003 Standard Edition

  • kbnosurvey kbarchive kbexchange2000sp2fix kbinfo KB308303