Dela via


How to Configure Authentication 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 authentication options for Internet Message Access Protocol version 4rev1 (IMAP4). In the original release (RTM) version of Exchange 2007, you could only configure authentication for IMAP4 by using the Exchange Management Shell. In Exchange 2007 Service Pack 1 (SP1), you can also configure authentication for IMAP4 by using the Exchange Management Console. Steps for doing this are included in this topic.

Note

After you have configured authentication 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 Microsoft Exchange Server 2007, see Permission Considerations.

Procedure

Exchange 2007 SP1

To use the Exchange Management Console to configure IMAP4 to use TLS or SSL

  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 POP3 and then, in the action pane, click Properties.

  4. On the IMAP4 Properties page, click the Authentication tab.

  5. Under Logon Method, select from one of the following:

    1. Plain text logon (Basic authentication)   No Transport Layer Security (TLS) connection is required for the client to authenticate to the server.

    2. Plain text authentication logon (Integrated Windows authentication). No TLS connection is required for the client to authenticate to the server.

    3. Secure logon   A TLS connection is required for the client to authenticate to the server.

  6. Click Apply, and then click OK to save your changes.

To use the Exchange Management Shell to configure authentication for IMAP4

  • If you will not be using TLS encryption and you want to allow Basic authentication on an unsecured port, run the following command:

    Set-ImapSettings -LoginType PlainTextLogin
    
  • If you will not be using TLS, but you want to restrict Basic authentication to use only secured ports, run the following command:

    Set-ImapSettings -LoginType PlainTextAuthentication
    
  • If you want to use TLS encryption before authentication, run the following command:

    Set-ImapSettings -LoginType SecureLogin
    

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

Exchange 2007 RTM

To use the Exchange Management Shell to configure authentication for IMAP4

  • If you will not be using TLS encryption and you want to allow Basic authentication on an unsecured port, run the following command:

    Set-ImapSettings -LoginType PlainTextLogin
    
  • If you will not be using TLS, but you want to restrict Basic authentication to use only secured ports, run the following command:

    Set-ImapSettings -LoginType PlainTextAuthentication
    
  • If you want to use TLS encryption before authentication, run the following command:

    Set-ImapSettings -LoginType SecureLogin
    

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

For More Information

For more information about how to set up Secure Sockets Layer (SSL) on the computer that is running Exchange 2007, see Managing Client Access Security.

For more information about how to manage the IMAP4 protocol, see Managing POP3 and IMAP4.