How to Configure Message Size Limits for Internal Routing
Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.
Applies to: Exchange Server 2007 SP1, Exchange Server 2007 SP2, Exchange Server 2007 SP3
This topic explains how to use the Exchange Management Shell to configure a maximum message size limit for messages that are routed between Active Directory directory service sites or between routing groups when Microsoft Exchange Server 2007 coexists with earlier versions of Exchange Server. You can set a maximum messages size limit on an Active Directory IP site link or on a routing group connector when you are running Exchange 2007 Service Pack 1 (SP1).
Note
The release to manufacturing (RTM) version of Exchange 2007 does not support the configuration of a maximum message size limit on a site link or a routing group connector.
In Exchange 2007, the Active Directory IP site link configuration is used by the routing component of the Exchange Transport service to determine the least cost routing path for messages that are relayed between Hub Transport servers that are located in different Active Directory sites. The configuration of routing group connectors determines the least cost routing path for messages that are relayed between Exchange 2007 Hub Transport servers and Microsoft Exchange Server 2003 or Exchange 2000 Server bridgehead servers when more than one version of Exchange coexists in the same Exchange organization.
By default, Exchange 2007 does not impose a maximum message size limit on messages that are relayed between Hub Transport servers in different Active Directory sites or across routing group connectors. The maximum message size that is supported on the least cost routing path does not affect route selection. If you configure a maximum message size on an Active Directory IP site link or on a routing group connector, routing generates a non-delivery report (NDR) for any message that has a size larger than the maximum message size limit that is configured on any Active Directory site link or routing group connector in the least cost routing path.
Configuring a maximum message size limit on an Active Directory site link or on a routing group connector is useful for restricting the size of messages that are sent to remote locations that must communicate over low-bandwidth connections. You can configure an Exchange-specific cost on Active Directory site links that have maximum message size restrictions to prevent selection of a size-restricted route over a route that has no size restrictions. For more information about how to configure an Exchange-specific cost for an Active Directory site link, see How to Set an Exchange Cost on an Active Directory IP Site Link.
Before You Begin
Determine the name of the Active Directory IP site link or routing group connector for which you want to set a maximum message size limit.
To perform this procedure, the account you use must be delegated the following:
- Exchange Organization Administrator role
For more information about permissions, delegating roles, and the rights that are required to administer Exchange 2007, see Permission Considerations.
Procedure
To use the Exchange Management Shell to configure a maximum message size limit on an Active Directory site link
Run the following command to configure a maximum message size limit on a single Active Directory site link:
Set-AdSiteLink -Identity DEFAULTIPSITELINK -MaxMessageSize 10MB
Run the following command to configure the same maximum message size limit on all Active Directory site links:
Get-AdSiteLink | Set-AdSiteLink -MaxMessageSize 10MB
For detailed syntax and parameter information, see Set-AdSiteLink.
To use the Exchange Management Shell to configure a maximum message size limit on a routing group connector
Run the following command to configure a maximum message size limit on a single routing group connector:
Set-RoutingGroupConnector -Identity "Exchange Administrative Group (FYDIBOHF23SPDLT)\Exchange Routing Group (DWBGZMFD01QNBJR)\Ex2007 to 2003 RGC" -MaxMessageSize 10MB
Run the following command to configure the same maximum message size limit on all routing group connectors:
Get-RoutingGroupConnector | Set-RoutingGroupConnector -MaxMessageSize 10MB
For detailed syntax and parameter information, see Set-RoutingGroupConnector.
For More Information
For more information, see the following topics: