To resolve this issue, you must enable the IMAP4 service to accept larger attachments. Additionally, you must increase the connection time-out interval.
To receive event log information about the error, enable diagnostics logging on the IMAP service.
How to enable the IMAP4 service to accept larger attachments
To enable the IMAP4 service to accept larger attachments, configure the AppendSizeLimit registry entry on the server that is running Exchange Server. To do this, follow these steps.
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
- On the Exchange Server server, start Registry Editor.
- Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\IMAP4SVC\Parameters
- Create the following registry entry under this subkey:
Name: AppendSizeLimit
Value type: DWORD
Value data: The size of the attachment for which you want to allow, in kilobytes. For example, type a value of 15360 to allow for an attachment size of up to 15 MB. - Exit Registry Editor.
How to increase the connection time-out interval
To do this, follow these steps:
-
Start Exchange System Manager.
- Expand Administrative Groups, and then expand the administrative group that you want. For example, expand First Administrative Group.
- Expand Servers, expand the name of the server that you want, and then expand Protocols.
- Expand IMAP4, right-click the IMAP4 virtual server that you want, and then click Properties.
- On the General tab, enter the value that you want in the Connections time-out (minutes) box.
- Exit Exchange System Manager.
How to enable diagnostics logging
To receive event log information about this issue, you must enable diagnostics logging on the IMAP4 service. To do this, follow these steps:
- Start Exchange System Manager.
- Expand Administrative Groups, and then expand the group that you want. For example, expand First Administrative Group.
- Expand Servers, right-click the name of the server that you want, and then click Properties.
- Click the Diagnostics Logging tab, and then click IMAP4Svc in the Services box.
- In the Categories box, click Client Action, click Minimum under Logging Level, and then click OK.
- Exit Exchange System Manager.
After you enable diagnostics logging, an event that resembles the following event is logged in the Application log when you try to move a large attachment to an IMAP4 folder:
Event ID: 2001
Event Type: Error
Event Source: IMAP4SVC
Event Category: Client Action
Date: Date
Time: Time
User: N/A
Computer: Server_Name
Description:
Client "User_Name@Domain.com" requested to append a message which size (29553997
bytes) exceeds the server's configured limit (20971520 bytes).
This limit can be increased by creating a DWORD value "AppendSizeLimit" under the
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\IMAP4SVC\Parameters" key in
the registry and setting its value to the desired maximum message size in
kilobytes.
For more information, click http://www.microsoft.com/contentredirect.asp.
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 57 11 28 00