Managing mail flow in Exchange Server plays a vital role in effective database management. Heavy attachments in emails cause data to pile up and consume extra storage space. However, as a solution to this issue, it is possible to set email size limits within Exchange Server using Exchange Management Shell and Exchange Admin Center. Here, let us understand how we can alter the default mail size limits in Exchange Server 2013.
Use of Exchange Management Shell to change the mail size limit
First, open Exchange Management Shell on your Exchange Server. Check the current server limit on emails by running the following cmdlets.
To check the Transport service emails limits, run this command:
To check receive/send connector service email limits, run the following command:
NOTE: Use “send” in place of “receive” in cmdlet to check send connector service emails limit
Now to change the emails size received by the Transport service, execute the following cmdlet:
NOTE: You can either increase or decrease message size limit using the above cmdlet.
Also, you can set limits for the results of the get-transportconfig cmdlets as:
NOTE: The above cmdlets do not consider if the attachments are included or not. Large messages with no attachments might stop immediately.
To set a Transport rule to avoid receiving attachments above a certain size limit (here 10MB) and to display a message, run the following cmdlet:
Thus, you can make use of Exchange Management Shell to manage the email size limit of your Exchange Server. Let us have an easier way to set these limits, through the Exchange Admin Center.
Use of Exchange Admin Center to change the mail size limit
You can set a new rule form EAC as:
- To set a rule for large attachments, go to mail flow>rules and click create a new rule after expanding +.
- In the rule page, enter the details like name, message, filter, and other options. After this, click Save.
Exchange Admin Center allows to set the email size limit flowing into the server. To do this, perform the steps one-by-one:
- Navigate to Exchange Admin Center>mail flow>receive connectors>… (more) and click Organization transport settings.
- In organization transport settings, edit the values of Maximum number of recipients, Maximum receive message size (MB), and Maximum send message size (MB). Finally, click Save.
With these methods, you can manage Exchange data growth up to some extent. However, if you face issues like Exchange database corruption, you should try some tools that can recover data from EDB files.
Kernel for Exchange Recovery, an automated tool for Exchange recovery and migration, works for recovering inaccessible EDB data to Outlook PST, Office 365 and more destinations.
Exchange Server gets affected by the huge size of emails. We can solve this issue by changing the maximum limit of email sizes at different ends of mail flows. However, if you are facing issues due to the corruption of Exchange database files, you should recover data from the corrupt EDB files using an Exchange recovery tool like Kernel for Exchange Server. It repairs data efficiently and migrates it precisely to different destinations.