Applies to: Exchange Server 2013, Exchange Online
Topic Last Modified: 2012-11-28
You can use the EAC or the Shell to configure the connection time-out limits for idle authenticated and unauthenticated IMAP4 connections.
For additional information related to IMAP4, see POP3 and IMAP4.
What do you need to know before you begin?
- Estimated time to complete: 5 minutes.
- You need to be assigned permissions before you can perform this
procedure or procedures. To see what permissions you need, see the
"IMAP4 settings" entry in the Clients and Mobile
Devices Permissions topic.
- For information about keyboard shortcuts that may apply to the
procedures in this topic, see Keyboard Shortcuts in
the Exchange Admin Center.
Tip: |
---|
Having problems? Ask for help in the Exchange forums. Visit the forums at: Exchange Server, Exchange Online, or Exchange Online Protection. |
What do you want to do?
Use the EAC to set connection time-out limits for IMAP4
- In the EAC, navigate to Servers >
Servers.
- In the list of servers, select the Client Access server, and
then click Edit .
- On the server properties page, click IMAP4.
- Scroll down and click More options.
- Under Time-out settings, use the following settings:
- Authenticated time-out
(seconds) Specifies the time to wait
before closing an idle authenticated connection. The default value
is 1,800. The possible values are from 30 through 86,400.
- Unauthenticated time-out
(seconds) Specifies the time to wait before
closing an idle connection that isn’t authenticated. The default
value is 60. The possible values are from 30 through 3,600.
- Authenticated time-out
(seconds) Specifies the time to wait
before closing an idle authenticated connection. The default value
is 1,800. The possible values are from 30 through 86,400.
- Click Apply, and then click OK to save your
changes.
After you've set the connection time-out limits for IMAP4, you must restart the IMAP4 services for the settings to take effect. For information about how to restart the IMAP4 services, see Start and Stop the IMAP4 Services.
Use the Shell to set connection time-out limits for IMAP4
This example sets the connection time-out limit for idle authenticated connections.
Copy Code | |
---|---|
Set -ImapSettings -Identity CAS01 -AuthenticatedConnectionTimeout TimeValue |
This example sets the connection time-out limit for idle unauthenticated connections.
Copy Code | |
---|---|
Set -ImapSettings -Identity CAS01 -PreAuthenticatedConnectionTimeout TimeValue |
After you've set the connection time-out limits for IMAP4, you must restart the IMAP4 services for the settings to take effect. For information about how to restart the IMAP4 services, see Start and Stop the IMAP4 Services.
For more information about syntax and parameters, see Set-ImapSettings.
How do you know this worked?
To verify that you’ve successfully set connection limits, do one of the following:
- In the EAC, navigate to Servers >
Servers.
- In the list of servers, select the Client Access server, and
then click Edit .
- On the server properties page, click IMAP4.
- Scroll down and click More options.
- Under Time-out settings, verify the connection settings
are correct.
Or
- Run the following command in the Shell.
Copy Code Get-ImapSettings | format-list
- Verify the connection settings are correct.
For more information
After you set authentication time-out limits for IMAP4, you may also want to: