How to Set Connection Time-Out Limits for IMAP4

Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.

 

Applies to: Exchange Server 2007, Exchange Server 2007 SP1, Exchange Server 2007 SP2, Exchange Server 2007 SP3

This topic explains how to use the Exchange Management Console and the Exchange Management Shell to configure the connection time-out limits for idle authenticated and unauthenticated Internet Message Access Protocol Version 4rev1 (IMAP4) connections. In the original release (RTM) version of Exchange 2007, you could only set connection time-out limits for IMAP4 by using the Exchange Management Shell. In Exchange 2007 Service Pack 1 (SP1), you can also set connection time-out limits for IMAP4 by using the Exchange Management Console. Steps for doing this are included in this topic.

Note

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

Before You Begin

To perform the following procedures on a computer that has the IMAP4 service enabled, the account you use must be delegated the Exchange Server Administrators role and membership in the local Administrators group for the target server.

For more information about permissions, delegating roles, and the rights that are required to administer Exchange Server 2007, see Permission Considerations.

Procedure

Exchange 2007 SP1

To use the Exchange Management Console to set connection time-out limits for a server, IP address, or a user for IMAP4

  1. In the console tree, expand Server Configuration, and then click Client Access.

  2. In the work pane, click the POP3 and IMAP4 tab.

  3. In the work pane, select IMAP4 and then, in the result pane, 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 18000 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.

To use the Exchange Management Shell to configure authentication time-out limits for IMAP4

  • To set the connection time-out limit for idle authenticated connections, run the following command:

    Set -ImapSettings -Identity CAS01 -AuthenticatedConnectionTimeout Timespan
    
  • To set the connection time-out limit for idle unauthenticated connections, run the following command:

    Set -ImapSettings -Identity CAS01 -PreAuthenticatedConnectionTimeout Timespan
    

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

Exchange 2007 RTM

To use the Exchange Management Shell to configure authentication time-out limits for IMAP4

  • To set the connection time-out limit for idle authenticated connections, run the following command:

    Set -ImapSettings -Identity CAS01 -AuthenticatedConnectionTimeout Timespan
    
  • To set the connection time-out limit for idle unauthenticated connections, run the following command:

    Set -ImapSettings -Identity CAS01 -PreAuthenticatedConnectionTimeout Timespan
    

For more information about syntax and parameters, see Set-IMAPSettings (RTM).

For More Information

For more information about how to manage IMAP4 settings on the Exchange 2007 Client Access server, see Managing POP3 and IMAP4.