Set Connection Time-Out Limits for IMAP4

Applies to: Exchange Server 2010

You can use the EMC or the Shell to configure the connection time-out limits for idle authenticated and unauthenticated IMAP4 connections.

Note

After you've set the connection time-out limits for IMAP4, you must restart the IMAP4 service. For information about how to restart the IMAP4 service, see Start and Stop the IMAP4 Service.

Looking for other management tasks related to setting up POP3 and IMAP4? Check out Managing POP3 and IMAP4.

Use the EMC to set connection time-out limits for IMAP4

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "POP3 and IMAP4" entry in the Client Access Permissions topic.

  1. In the console tree, navigate to Server Configuration > Client Access.
  2. In the work pane, click the POP3 and IMAP4 tab.
  3. Select IMAP4 and then, in the action pane, under IMAP4, click Properties.
  4. On the IMAP4 Properties page, click the Connection tab.
  5. Under Time-out Settings, do one of the following:
    • To set the connection time-out limit for idle authenticated connections, enter a number between 1 and 18,000 in the box next to Authenticated time-out (seconds).
    • To set the connection time-out limit for idle unauthenticated connections, enter a number between 1 and 200 in the box next to Unauthenticated time-out (seconds).
  6. Click Apply, and then click OK to save your changes.

Use the Shell to set connection time-out limits for IMAP4

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "POP3 and IMAP4" entry in the Client Access Permissions topic.

This example sets the connection time-out limit for idle authenticated connections.

Set -ImapSettings -Identity CAS01 -AuthenticatedConnectionTimeout Timespan

This example sets the connection time-out limit for idle unauthenticated connections.

Set -ImapSettings -Identity CAS01 -PreAuthenticatedConnectionTimeout Timespan

For more information about syntax and parameters, see Set-ImapSettings.

Other Tasks

After you set authentication time-out limits for IMAP4, you may also want to: