Incoming and outgoing message size restriction

[This topic is intended to address a specific issue called out by the Exchange Server Analyzer Tool. You should apply it only to systems that have had the Exchange Server Analyzer Tool run against them and are experiencing that specific issue. The Exchange Server Analyzer Tool, available as a free download, remotely collects configuration data from each server in the topology and automatically analyzes the data. The resulting report details important configuration issues, potential problems, and nondefault product settings. By following these recommendations, you can achieve better performance, scalability, reliability, and uptime. For more information about the tool or to download the latest versions, see "Microsoft Exchange Analyzers" at https://go.microsoft.com/fwlink/?linkid=34707.]  

Topic Last Modified: 2006-12-01

The Microsoft® Exchange Server Analyzer Tool queries the Active Directory® directory service to determine whether the attribute for the outgoing message size limit, which is submissionContLength, differs from the attribute for the incoming message size limit, which is delivContLength. If the Exchange Server Analyzer finds that the outgoing message size limit and the incoming message size limit are different, the Exchange Server Analyzer displays a best practice recommendation message.

We recommend that you set the outgoing message size limit and the incoming message size limit to the same value to provide consistency on message restriction.

To change the outgoing message size limit for Exchange 2000 Server and Exchange Server 2003

  1. Start Exchange System Manager.

  2. In the left pane, expand Global Settings.

  3. Right-click Message Delivery, and then click Properties.

  4. On the Defaults tab, under Sending message size, click Maximum (KB), and then type a number.

To set the outgoing message size limits for Exchange Server 2007

  1. In Exchange Management Shell, run the following command where <size> is entered as the default of "unlimited" or the size in B (Bytes), KB (Kilobytes), or MB (Megabytes) in a range of 0 to 2147483647 bytes:
Set-TransportConfig -MaxSendSize <size>

For example, to set the maximum message size that can be sent by users in the Exchange Organization to 10 Megabytes you would enter:

Set-TransportConfig -MaxSendSize 10MB

To set the maximum message size that can be sent by users in the Exchange Organization to the default value of unlimited you would enter:

Set-TransportConfig -MaxSendSize unlimited

To change the incoming message size limit

  1. Start Exchange System Manager.

  2. In the left pane, expand Global Settings.

  3. Right-click Message Delivery, and then click Properties.

  4. On the Defaults tab, under Receiving message size, click Maximum (KB), and then type a number.

To set the incoming message size limits for Exchange Server 2007

  1. In Exchange Management Shell, run the following command where <size> is entered as the default of "unlimited" or the size in B (Bytes), KB (Kilobytes), or MB (Megabytes) in a range of 0 to 2147483647 bytes:
Set-TransportConfig -MaxReceiveSize <size>

For example, to set the maximum message size that can be received by recipients in the Exchange Organization to 10 Megabytes you would enter:

Set-TransportConfig -MaxReceiveSize 10MB

To set the maximum message size that can be received by recipients in the Exchange Organization to the default value of unlimited you would enter:

Set-TransportConfig -MaxReceiveSize unlimited

For more information about how to set size limits for messages in Exchange 2000 Server and in Exchange Server 2003, see Microsoft Knowledge Base article 322679, "How to set size limits for messages in Exchange Server" (https://go.microsoft.com/fwlink/?linkid=3052&kbid=322679).

For more information about the TransportConfig cmdlet for Exchange Server 2007, see "Set-TransportConfig" in the Exchange Server 2007 Technical Reference (https://go.microsoft.com/fwlink/?LinkId=79237).