Install Config Wiki

All about installing, configuring and troubleshooting

User Tools

Site Tools


wiki:setting-message-size-limits-in-exchange-server-2016

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:setting-message-size-limits-in-exchange-server-2016 [2020/01/20 18:22] wikiadminwiki:setting-message-size-limits-in-exchange-server-2016 [2020/01/20 20:15] (current) – [View and Set the Server's Message Size Limitations via Exchange Management Console (EMC)] wikiadmin
Line 6: Line 6:
   * Send/receive connector settings   * Send/receive connector settings
   * User mailbox settings.   * User mailbox settings.
 +
 +====View and Set the Server's Message Size Limitations via Exchange Management Console (EMC)====
  
 To check your server’s current limit you can open and access them via Exchange Management Console (EMC), however you can use PowerShell as a method for checking message limits as well. Run the following code in the Exchange Management Shell: To check your server’s current limit you can open and access them via Exchange Management Console (EMC), however you can use PowerShell as a method for checking message limits as well. Run the following code in the Exchange Management Shell:
Line 16: Line 18:
 </code> </code>
  
-The last line of the script (Get-Mailbox) returns information only about the Administrator’s user mailbox. Replace it with the user name that you want to check. Or, you can omit the username Administrator, and the result will be a list of all mailboxes that are present on the Exchange along with their respective mailbox size limits (likely being unlimited).+The last line of the script (Get-Mailbox) returns information only about the 'Administratoruser'mailbox. Replace 'Administrator' with the user name that you want to check. Or, you can omit the username Administrator (and any other username), and the result will be a list by username of all mailboxes that are present on the Exchange along with their respective mailbox size limits (those size limits likely being 'unlimited' because limits per mailbox were not ever set or configured - which is fine too).
  
 <code>get-mailbox |ft Name, Maxsendsize, maxreceivesize</code> <code>get-mailbox |ft Name, Maxsendsize, maxreceivesize</code>
Line 24: Line 26:
 <code>Set-TransportConfig -MaxSendSize 100MB -MaxReceiveSize 100MB</code> <code>Set-TransportConfig -MaxSendSize 100MB -MaxReceiveSize 100MB</code>
  
-The easiest way (the least amount of typing) to set the maximum message size limits for the exchange send and receive connectors is to log into the Exchange Admin Center as a user with appropriate administrative privileges.  https://yourmailhostname.yourdomain.tld/ecp/  and do the following:+====View and Set the Send and Receive Connectors' Message Size Limitations via Exchange Admin Center (EAC)==== 
 + 
 +The easiest way (the least amount of typing) to set the maximum message size limits for the exchange send and receive connectors is to log into the Exchange Admin Center as a user with appropriate administrative privileges.  <code>https://yourmailhostname.yourdomain.tld/ecp/</code> and do the following:
  
   * Select 'mail Flow' from the left menu.   * Select 'mail Flow' from the left menu.
Line 32: Line 36:
   * Select and edit the listed send connector to change the Maximum send message size (MB), and click the 'Save" button.   * Select and edit the listed send connector to change the Maximum send message size (MB), and click the 'Save" button.
  
-To confirm that your changes have taken effect, open the Exchange Management Shell [PS] and enter the following:+To confirm your changes, open the Exchange Management Shell [PS] and enter the following:
  
 <code> <code>
Line 39: Line 43:
 get-sendconnector | ft name, maxmessagesize  get-sendconnector | ft name, maxmessagesize 
 </code> </code>
 +
 +====Using the Exchange Admin Console (EAC) to Set Message Size Limits per User Mailbox====
 +
 +  * In EAC -> select Recipients -> Select Mailboxes
 +  * Select a Mailbox user -> click Edit
 +  * On the mailbox properties page -> click Mailbox Features.
 +  * Under Message Size Restrictions -> click View details to view and change the following message size limits:
 +  * Sent messages: To set a maximum size for messages sent by this user, select the Maximum message size (KB) check box and type a value in the box. The message size must be between 0 and 2,097,151 KB. If the user sends a message larger than the specified size, the message will be returned to the user with a descriptive error message.
 +  * Received messages: To set a maximum size for messages received by this user, select the Maximum message size (KB) check box and type a value in the box. The message size must be between 0 and 2,097,151 KB. If the user receives a message larger than the specified size, the message will be returned to the sender with a descriptive error message.
 +  * Click OK, and then click Save to save your changes.
 +
 +====Using the Exchange Management Shell to Configure Message Size Limits per User Mailbox====
 +
 +Open Exchange Management Console Power Shell [PS].  Here is an example that sets the maximum size for sent messages to 50 MB and the maximum size for received messages to 36 MB for the mailbox of James Geek.
 +
 +<code>Set-Mailbox -Identity "James Geek" -MaxSendSize 50mb -MaxReceiveSize 36mb</code>
 +
 +**Resources:**
 +[[https://docs.microsoft.com/en-us/exchange/mail-flow/message-size-limits?view=exchserver-2019]]
 +
 +[[https://www.codetwo.com/admins-blog/exchange-attachment-size-limit-find-change/]]
 +
 +**Setting Message Size Limits Per Mailbox:**
 +
 +[[https://docs.microsoft.com/en-us/exchange/recipients/user-mailboxes/mailbox-message-size-limits?view=exchserver-2019]]
 +
  
wiki/setting-message-size-limits-in-exchange-server-2016.1579544539.txt.gz · Last modified: 2020/01/20 18:22 by wikiadmin