Exchange Team has provided an option to configure POP, IMAP and SMTP settings and publish it in 2010 SP1 OWA, as an information for users. Helpdesk can always direct users to look at the information in OWA & setup their POP or IMAP client, if your organization is still using it.
By default (new in SP1), you have a new link called “Settings for POP,IMAP & SMTP Access” in the “Options” page (ECP to be precise).
If you click the link, there won’t be any information published by default.
Let’s say that your organization uses POP & IMAP and that you want to make this information available in OWA. What do you do? All you need to do is to execute a couple of commands (of course knowing the protocols, encryption methods & port numbers you will be using). In our lab, we will use secure POP & IMAP (which means SSL) and TLS for SMTP. So, the ports we will be using are 993 (secure imap), 995 (secure pop) and 587 (TLS for SMTP encryption).
Apart from the port numbers, we need to know the urls to connect to these services from outside. In my case, it will be pop.chakka.co.uk, imap.chakka.co.uk & smtp.chakka.co.uk. I need to run the following commands to configure the settings for POP & IMAP.
Set-POPSettings –ExternalConnectionSettings “pop.chakka.co.uk:995:ssl”
Set-IMAPSettings –ExternalConnectionSettings “imap.chakka.co.uk:995:ssl”
The –ExternalConnectionSettings takes “servername:portnumber:encryption method” as the input. The above commands has to be run on all CAS servers which will serve POP & IMAP users.
By default, the “ServernameClient” receive connector is used by non-mapi clients. I will use the same (Client EXCH1 in my case) and force the connector to advertise it’s settings by running the following command.
Set-ReceiveConnector “EXCH1Client EXCH1” –AdvertiseClientSettings:true
Restart IIS for changes to take effect by running iisreset /noforce.
Login back to OWA –> Options (ECP) and click on the link. The configured server settings will be displayed.
Good way of publishing the info for POP & IMAP users, if you still have them
If you want to change the name of the SMTP server, you can specify that name as the FQDN that the Client connector will provide in response to HELO or EHLO. This would solve the problem of having a different name in the case of having a CASARRAY.
Hi Hesan,
The above procedure is used to publish the settings in OWA. It doesn't configure your POP settings. It is ideal to have a SAN certificate from a third party CA. If that is not possible, you can use the self signed certificate which Exchange comes with or use an internal certificate from your internal PKI.
Hello Sir,
My company is not having a SAN certificate and we want to you POP, can i use the procedure mentioned above and do the Setup or a SAN Certificate is necessary.
Thanks for this, it's very concise and helpful. However, you may want to correct the port number in the blue text, "Set-IMAPSettings" — you've got 995 when it should be 993.
Bigger companies might use it.
Interesting. No sure if anyone will use it but good to know. Thanks
Hi. A very good article, thanks. Anyway… Imagine you have an CASARRAY, that consists of 2 CAS servers. In that case I recieve as SMTP server excas1.domain.local instead of mail.domain.com (name of CASARRAY). Do you have any hint, how to change this?