Do you allow your users to connect to Exchange 2010 directly via IMAP, POP and SMTP? If you do then not only will some Exchange admins call you crazy…  but you’ll probably have to document the client settings such as server names, port and encryption settings somewhere and distribute it to users.

In Exchange 2010 there is actually somewhere to publish these settings – and once configured your documentation won’t need to be updated if the server details change. You’ll find these settings by logging into OWA, and choosing Options. The link “Settings for POP, IMAP, and SMTP access…” should be shown on the default “My Account” page:

image

By default, nothing will be listed if you click the link:

image

To configure these links, it’s a fairly straightforward process. Before you begin, you need to know what the settings should be and in the case of the SMTP settings, which receive connector on which Hub Transport this relates to.

First, you configure the Client Access servers for the POP and IMAP settings, using the Set-POPSettings and Set-IMAPSettings cmdlets with the -ExternalConnectionSettings parameter.

For each protocol you specify a colon-separated list of values for the ExternalConnectionSettings. For POP3 with TLS, this might be “casserver.contoso.com:110:tls” or POP3 with SSL might be “casserver.contoso.com:995:ssl”. IMAP with TLS might be “casserver.contoso.com:143:tls” and IMAP with SSL might be “casserver.contoso.com:993:ssl”.

Here’s a quick example of the commands against my test setup:


Set-POPSettings -ExternalConnectionSettings "mail.contoso.com:110:tls"
Set-IMAPSettings -ExternalConnectionSettings "mail.contoso.com:143:tls"

It’s important to remember, you need to run the command on all Client Access servers users will access.

Next, you need to allow the receive connector that you want “published” to advertise it’s settings. You do this with the Set-ReceiveConnector cmdlet specifying the -AdvertiseClientSettings:$true parameter and value.

In my example, I want to advertise the port 587 “client” receive connector on my Hub Transport server:


Set-ReceiveConnector -Identity "hubtransportClient HUBTRANSPORT" -AdvertiseClientSettings:$true

Finally, run iisreset to restart IIS on each Client Access Server, the log back into OWA (well, ECP) and test the “Settings for POP, IMAP, and SMTP access…”  link again. It should now show the settings specified:

image

For further reading check out Set-IMAPSettings, Set-POPSettings and Set-ReceiveConnector.


Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts

Microsoft

Collect Computer Information From Active Directory– PowerShell Script

This PowerShell script can be used to collect computer information from Active Directory.   I am searching only Windows XP and Windows 7 machines.  You can update these values  by modifying $OS1 and $OS2 variables. $OS1 Read more…

Microsoft

PowerShell – Tips, Tricks and Useful Commands

Tip #4 –   #4                       Tip #3 – Comparison Operators Published date – May12, 2013 -eq   -ne   -gt   -ge   -lt Read more…

Microsoft

PowerShell TTUC #13 – Scheduled Jobs

PowerShell Tips, Tricks and Useful Commands (TTUC) #13 – Scheduled Jobs PowerShell scripts can be run as a scheduled job using using Windows scheduler.  Create a batch file with the following syntax/commands:   Powershell.exe “c:scriptsmytestscript.ps1” Read more…