Forum FAQ: How to control the size of attachment which is in DSN? RRS feed

  • General discussion

  • Question:

    How to control the size of attachment which is in DSN?


    For Exchange Server 2007, we can set ExternalDsnMaxMessageAttachSize and InternalDsnMaxMessageAttachSize

    Note: Those parameters specify the maximum size of the original message that are attached to an external/internal DSN. If the original message exceeds this size, only the headers of the original message are included in the DSN. The default value is 10 MB. When you enter a value, qualify the value with one of the following units:

    ·         B (bytes)

    ·         KB (kilobytes)

    ·         MB (megabytes)

    ·         GB (gigabytes)

    Unqualified values are treated as bytes. The valid input range for this parameter is 0 to 2147483647 bytes. If you specify a value of 0, only the original message headers are included in the external DSN.

    For Exchange 2003 and Exchange 2000, you can add Queuing with vaule: MaxDSNSize to control the attachment size. You can follow the steps in article below to modify the registry.

    Option to strip attachments for messages that generate an NDR



    Applies to:

    Microsoft Exchange Server 2007, Microsoft Exchange 2003/2000

    Wednesday, March 31, 2010 2:43 AM

All replies

  • What is mising here for beginner is info that parameters ExternalDsnMaxMessageAttachSize and InternalDsnMaxMessageAttachSize are used in Set-TransportConfig PS command.
    Thursday, February 25, 2016 7:40 PM