Applies to: Exchange Server 2013, Exchange Online

Topic Last Modified: 2012-11-28

You can use the EAC and the Shell to configure the Microsoft Exchange POP3 and IMAP4 services to use IP addresses and ports that are different from the default settings.

Note:
Enter IP addresses and IP address ranges in the Internet Protocol Version 4 (IPv4) format, Internet Protocol Version 6 (IPv6) format, or both formats. A default installation of Windows Server 2008 enables support for IPv4 and IPv6.

For additional information related to POP3 and IMAP4, see POP3 and IMAP4.

What do you need to know before you begin?

  • Estimated time to complete each procedure: 5 minutes.

  • You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the "POP3 settings" and “IMAP4 settings” entries 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?

Configure IP addresses and ports for POP3

Use the EAC to configure IP addresses and ports for POP3

  1. In the EAC, navigate to Servers > Servers.

  2. In the list of servers, select the Client Access server, and then click Edit Edit Icon.

  3. On the server properties page, click POP3.

  4. Under TLS or unencrypted connections, click Add Add Icon.

  5. On the Add IP address page, under IP address, choose one of the following:

    • All available IPv4 addresses   Use all available IPv4 IP addresses for a server.

    • All available IPv6 addresses   Use all available IPv6 IP addresses for a server.

    • Specify an IP address   Use a specific IP address.

  6. Under Port, enter a port number, or accept the default port.

  7. Click Save to save your changes.

After you've set the IP address and port settings for POP3, you must restart the POP3 service for the settings to take effect. For information about how to restart the POP3 service, see Start and Stop the POP3 Services.

Use the Shell to configure IP addresses and ports for POP3

This example sets the IP address and port for communicating with Exchange by using POP3 with Secure Sockets Layer (SSL).

Copy Code
Set-PopSettings -SSLBindings: IPaddress:Port

This example sets the IP address and port for communicating with Exchange by using POP3 with no encryption or Transport Layer Security (TLS) encryption.

Copy Code
Set-PopSettings -UnencryptedOrTLSBindings IPaddress:Port

After you've set the IP address and port settings for POP3, you must restart the POP3 service for the settings to take effect. For information about how to restart the POP3 service, see Start and Stop the POP3 Services.

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

How do you know this worked?

Do the following to verify that you have changed POP3 IP address and port settings on a server.

  1. Run the following command in the Shell.

    Copy Code
    Get-PopSettings | format-list
    
  2. Verify the UnencryptedOrTLSBindings and SSLBindings settings are correct.

Configure IP addresses and ports for IMAP4

Use the EAC to configure IP addresses and ports for IMAP4

  1. In the EAC, navigate to Servers > Servers.

  2. In the list of servers, select the Client Access server, and then click Edit Edit Icon.

  3. On the server properties page, click IMAP4.

  4. If you want to set TLS or unencrypted connection settings, under TLS or unencrypted connections, click Add Add Icon. If you want to change Secure Sockets Layer (SSL) connection settings, under Secure Sockets Layer (SSL) connections, click Add Add Icon.

  5. On the Add IP address page, under IP address, choose one of the following:

    • All available IPv4 addresses   Use all available IPv4 IP addresses for a server.

    • All available IPv6 addresses   Use all available IPv6 IP addresses for a server.

    • Specify an IP address   Use a specific IP address.

  6. Under Port, enter a port number, or accept the default port.

  7. Click Save to save your changes.

After you've set the IP address and port settings 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 configure IP addresses and ports for IMAP4

This example sets the IP address and port for communicating with Exchange by using IMAP4.

Copy Code
Set-ImapSettings -SSLBindings: IPaddress:Port

This example sets the IP address and port for communicating with Exchange by using IMAP4 with no encryption or TLS encryption.

Copy Code
Set-ImapSettings -UnencryptedOrTLSBindings IPaddress:Port 

After you've set the IP address and port settings for IMAP4, you must restart the IMAP4 service for the settings to take effect. For information about how to restart the IMAP4 service, see Start and Stop the IMAP4 Services.

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

How do you know this worked?

Do the following to verify that you have changed IMAP4 IP address and port settings on a server.

  1. Run the following command in the Shell.

    Copy Code
    Get-ImapSettings | format-list
    
  2. Verify the UnencryptedOrTLSBindings and SSLBindings settings are correct.

For more information

After you configure IP addresses and ports for POP3 and IMAP4, you may also want to:

Enable IMAP4 in Exchange 2013

Enable POP3 in Exchange 2013