How to set Exchange 2013 Email Message Size Restriction

Cinch I.T. > Tech Blog  > How to set Exchange 2013 Email Message Size Restriction

How to set Exchange 2013 Email Message Size Restriction

Step by Step – Exchange 2013 Email Message Size Restriction Detail

Exchange Server 2013 email size restriction

Email size in Exchange server plays an important role for the organization since it acts important factor for bandwidth, storage limit, email queue, CPU utilization and mailbox size. The below article provide deeper stuff on how email size restriction plays in the Exchange server 2013.

The email message size value you are trying to configure should be 33% larger than the actual message sizes. For example if you want to allow 30 MB email size then the message size parameter should be 43 MB value. The reason behind is it uses Base64 encoding which increase the message size to 33% of the real message size.

The email size restriction for user mailbox will be applied in the following order

  1. Global Transport configuration settings
  2. Send connector size restriction
  3. Receive connector size restriction
  4. In the user mailbox properties of send and receive size limit

It’s also controlled in the configuration file of Exchange Server based upon the application

  1. Exchange Web Service (EWS)
  2. Outlook Web Access (OWA)
  3. ActiveSync

Thumb Rule: If the upper order is more restrictive, then this will override the below order. For example if the Global Transport setting send receive size is 10 MB and Send connector size is 100MB. The user will not able to send more email more than 10 MB size.

Now let us understand in detail on how each component works

  • Global Transport configuration settings

To verify global transport settings all Hub Transport servers in the Exchange Organization. The default of send and receive size is 10 MB. Complete global transport configuration setting can be displayed used the command Get-TransportConfig | fl

To check only the send and receive size of email

Get-TransportConfig | ft MaxSendSize, MaxReceiveSize

For example if you want to modify the sending and receiving email message size to 100 MB in the global Tranport configuration

Set-TransportConfig –MaxSendSize 20MB –MaxReceiveSize 100MB

 

  • Send connector size restriction

Send connector are used to send emails out of the exchange organization and the default size is 10 MB. To verify and modify the send connector size

Get-SendConnector | ft name, MaxMessageSize

Set-SendConnector <Connector Name> –MaxMessageSize 50MB

 

  • Receive connector size restriction

Receive connector are used to receive emails from the internet or application and the default size is 10 MB. To verify and modify the receive connector size

Get-ReceiveConnector | ft name, MaxMessageSize

Set-ReceiveConnector <Connector Name> –MaxMessageSize 50MB

 

  • In the user mailbox properties of send and receive size limit

The send and receive email message size can be granular controlled in the user mailbox properties. To verify the and modify the size

Get-mailbox | ft Name, MaxSendSize, MaxReceiveSize

Set-Mailbox “test” –MaxSendSize 20MB –MaxReceiveSize 20MB

 

Exchange Server Configuration File – Email Size Restriction

  1. Outlook Web Access

When email sent over the Outlook Web Access the email size is also verified in the web config file located in%ExchangeInstallPath%ClientAccess\Owa\web.config

Default Email message size in OWA:

maxAllowedContentLength=”35000000″ (value in bytes) = Approx 33 MB

maxReceivedMessageSize=”35000000″ (value in bytes) = Approx 33 MB

maxRequestLength=”35000″ (value in kilobytes) = Approx 34 MB

You can change this value to whatever size you need.

  1. Exchange Web Services (EWS)

Just like OWA, when email is sent using the EWS application (Mac Outlook, Entourage) the message size is justified with the parameter value located in the file ExchangeInstallPath%ClientAccess\exchweb\ews\web.config

Default Email message size in EWS:

maxAllowedContentLength=”67108864″ (value in bytes) = Approx 64 MB

maxReceivedMessageSize=”67108864″ (value in bytes) = Approx 64 MB

You can change this value to whatever size you need.

  1. ActiveSync

When email is sent using the ActiveSync handheld device the message size is justified with the value located in the file%ExchangeInstallPath%ClientAccess\Sync\web.config

Default Email message size in Activesync:

<add key=”MaxDocumentDataSize” value=”10240000″> (value in bytes) Approx 9.7 MB

maxRequestLength=”10240″ (value in kilobytes ) = Approx 10 MB