How to Configure Ports for IMAP4 Authentication

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 Shell to configure Microsoft Exchange to use ports other than the default ports for IMAP4 authentication.


After you have configured ports 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 this procedure, 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.


To use the Exchange Management Shell to configure ports for IMAP4 authentication

  • To set the port to a value other than the default port number, run the following command:

    Set-ImapSettings -UnencryptedOrTLSBindings IPaddress:Port

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

For More Information

For more information about the default port values that you can use with the available authentication settings, see How to Configure Authentication for IMAP4.