
Message Size Restrictions
Message size restrictions are the most commonly used restrictions in any messaging system. Setting a maximum message size prevents your messaging system, or the underlying network infrastructure, from being overwhelmed.
Depending on what you want to accomplish, Exchange 2007 allows you to configure message size restrictions for several components. For example, you can restrict the total size of a message or the size of the individual message components (such as the message header, attachments, or the number of recipients).
Although you can also specify whether message size restrictions are applied to your entire Exchange 2007 organization or to a specific connector or user object, this section focuses only on message size restrictions that you can apply to recipients. For a complete list of message size restrictions that you can configure in an Exchange 2007 organization, see Managing Message Size Limits.
When configuring message size restrictions for individual recipients, it is important to consider other message size restrictions that may exist in your organization. For example, assume that the Hub Transport servers in your organization are configured to restrict message size to 10 megabytes (MB). In this case, for a mail contact that has external addresses, you should set the maximum receive size to be no larger than 10 MB. Although a sender in your organization will be able to submit a message larger than 10 MB to this mail contact, the message would be rejected by the Hub Transport server. To learn more about how different message size restrictions affect each other and the order of precedence, see Managing Message Size Limits.
Message Size Restrictions for All Recipient Types
Exchange 2007 can deliver or route messages to all recipients. Therefore, you can set a maximum receiving message size limit for any recipient type in your Exchange organization. If a sender attempts to send a message that is larger than the specified size, the message is returned to the sender with a descriptive error message.
In the Exchange Management Console, you set the maximum receiving message size by using the Mail Flow Settings tab of the recipient's properties. In the Exchange Management Shell, use the MaxReceiveSize parameter of the appropriate Set- cmdlet. For an example about how to configure receiving message size restrictions for a recipient, see How to Configure Message Size Limits for a Mailbox or a Mail-Enabled Public Folder.
Message Size Restrictions Specific to Mailboxes and Mail-Enabled Public Folders
Mailboxes and mail-enabled public folders are the only recipient types that can submit messages to your Exchange 2007 messaging system. Therefore, in addition to setting receiving message size restrictions, you can also set sending message size restrictions.
In the Exchange Management Console, you set the maximum sending message size of a mailbox by using the Mail Flow Settings tab of the mailbox properties. In the Exchange Management Shell, use the MaxSendSize parameter of the Set-Mailbox and Set-MailPublicFolder cmdlets. For an example about how to configure sending message size restrictions for mailboxes and mail-enabled public folders, see How to Configure Message Size Limits for a Mailbox or a Mail-Enabled Public Folder.
Important: |
|---|
|
If you implement sending message size restrictions for your mailbox users, you should also make sure that your Client Access servers are configured to accept client requests that are equal to or larger than the sending message size limit that you configured. Microsoft Outlook Web Access uses ASP.NET and is thereby affected by the ASP.NET configuration. ASP.NET has a setting, maxRequestLength, which determines the maximum amount of data that the Web browser can submit to the Client Access server. If this limit is lower than the sending message size restriction, your users may receive a confusing error. To learn more about managing the maximum message size in Outlook Web Access, see How to Manage Maximum Message Size in Outlook Web Access.
|
New in Exchange 2007 Service Pack 1 (SP1)
In the release to manufacturing (RTM) version of Exchange 2007, you could only configure message size restrictions for a mail-enabled public folder by using the Set-MailPublicFolder cmdlet. Exchange 2007 SP1 introduces the Public Folder Management Console—a Microsoft Management Console (MMC) 3.0-based interface that provides Exchange administrators with a graphical user interface (GUI) to create, configure, and manage public folders. In Exchange 2007 SP1, you can also configure message size restrictions for a mail-enabled public folder by using the Message Size Restrictions option on the Mail Flow Settings tab of the public folder properties in the Public Folder Management Console. To learn more about the Public Folder Management Console, see Using the Public Folder Management Console.