Overview
Customers may experience an issue with a large number of failed emails in the GFIFailedEmails folder, particularly if these emails are over 60 MB in size.
As mentioned in the article Configure client-specific message size limits, this problem arises due to the default value of the attributes 'maxAllowedContentLength' and 'maxReceivedMessageSize' being set to 64MB in the Exchange Server's web.config file, causing emails larger than this size to fail.
Solution
To resolve this issue, the attribute values need to be increased to accommodate larger emails. Follow these steps:
- Navigate to `%ExchangeInstallPath%ClientAccess\exchweb\ews\web.config` on your Exchange Server.
- Open the 'web.config' file.
- Locate the attribute maxAllowedContentLength and change the value as required. For example, to increase the limit to 100MB, set maxAllowedContentLength='104857600'. (104857600 Bytes equals 100 MB)
- Update the value for the attribute maxReceivedMessageSize in the same way. Note that there are 14 instances of this attribute in the web.config file, so you will need to update the value for each one of these instances.
- Save and close the web.config file.
Note: Please take a backup of the web.config file before proceeding with the above steps. You do not need to stop any services or reset any settings when editing/after editing the web.config file using the above steps.
After updating the file with the desired value, mark all the emails in the GFIFailedEmails folder as unread and move those files back to the Inbox folder. Wait for 5 to 10 minutes for these emails to be processed. The processing time might be longer depending on the size of the email.
Summary
Large email failures can occur due to the default attribute values in the Exchange Server's web.config file. By increasing these values and moving the failed emails back to the Inbox, the issue can be resolved.
FAQ
-
Do I need to stop any services or reset any settings when editing the web.config file?
No, you do not need to stop any services or reset any settings when editing/after editing the web.config file using the above steps. -
How long does it take for the emails to be processed after moving them back to the Inbox?
Wait for 5 to 10 minutes for these emails to be processed. The processing time might be longer depending on the size of the email. -
What should I do if the problem persists even after following the steps?
If the problem persists, please contact support team and share the troubleshooting logs as per the article Gathering-Troubleshooter-Logs-for-Archiver