To increase the attachment file size limit in Exchange Server 2019

 


https://www.youtube.com/watch?v=9hLxvwO1VCs&t=4s



To increase the attachment file size limit in Exchange Server 2019

To increase the attachment file size limit in Exchange Server 2019, you can follow these steps:

  1. Check current limits:
    First, verify the current message size limits by running the following command in the Exchange Management Shell:

Powershell

Get-TransportConfig | Format-List MaxReceiveSize,MaxSendSize


  1. Increase the limits:
    Use the Set-TransportConfig cmdlet to increase both the MaxSendSize and MaxReceiveSize. For example, to set the limit to 50 MB:

powershell

Set-TransportConfig -MaxSendSize 50MB -MaxReceiveSize 50MB


Note that you should set the limit about 33% higher than the actual desired attachment size to account for Base64 encoding. So for a 50 MB attachment limit, you may want to set it to around 67 MB.

  1. Restart Exchange services:
    For the changes to take effect immediately, restart the Exchange services using:

powershell

Get-Service *Exchange* | Where {$_.DisplayName -notlike "*Hyper-V*"} | Restart-Service -Force


Alternatively, you can wait several hours for the changes to propagate.

  1. Verify the changes:
    Check that the new limits are in place by running the Get-TransportConfig command again.

You can also adjust these settings through the Exchange Admin Center (EAC):

  1. Sign in to the EAC with admin privileges.

  2. Navigate to mail flow > receive connectors.

  3. Click the "More..." icon in the toolbar and select "Organization transport settings".

  4. Change "Maximum receive message size (MB)" and "Maximum send message size (MB)" to your desired value.

  5. Click "Save".

Remember that there are multiple levels of message size limits in Exchange, including organizational, connector, and mailbox levels. Ensure that all relevant limits are adjusted to allow for larger attachments.

Also, keep in mind that increasing attachment size limits may impact your server's performance and storage capacity. It's important to consider your infrastructure capabilities when making these changes.


Comments

Popular posts from this blog

Intune Windows Autopilot Steps-by-Step.

How to Map Network Drive using Group Policy Preferences?

How to set up a Shared folder in Windows Server 2022?