This article provides information on how to
configure MailEnable to cater for Microsoft Outlook autodiscover
When Microsoft Outlook
tries to auto discover during the account setup process it will try to connect
to a special URL, or uses a special DNS query (SRV record).
An ordered list of DNS
records and URL's can be found below:
Autodiscover to https://exampledomain.com/Autodiscover/Autodiscover.xml.
The exampledomain.com is the email domain
part of the email address used in account settings.
Autodiscover to https://autodiscover.exampledomain.com/Autodiscover/Autodiscover.xml.
Autodiscover performs the following redirect check: GET
exampledomain.com is the email domain part of the email address used in
Autodiscover DNS SRV
lookup: Outlook will perform a DNS lookup for the SRV record.
If the SRV record exists for the domain it will return
the host name of the server: I.e.:
Autodiscover to https://mail.exampledomain.com/autodiscover/autodiscover.xml.
Microsoft Outlook uses https to access the autodiscover
service when connecting to an EAS server. Therefore a valid and trusted SSL
certificate is required.
While Outlook will still be able to auto discover if the
certificate is not trusted the end user will need to trust the certificate and
therefore the Outlook client will always prompt when the client is
opened and contacts the server for the first time.
Autodiscover DNS records:
- Create a CNAME record in your local DNS server
under the domain that will be used for autodiscover (or via your hosting
provider hosting the DNS server).
- Create an SRV record within your local DNS server
for the domain
- Obtain an SSL certificate for the server/domain.
MailEnable recommends obtaining a wildcard SSL certificate also named Unified
communication certificate so that it can cater for all names of the
domain. I.e.: mail.exampledomain.com and
Adding the SSL certificate under the website
servicing the MailEnable EAS service and host header binding:
- Open the Microsoft Internet Information Services
- Expand the folder tree and click on the root
website that is servicing the MailEnable EAS service
- In the "Actions" pane click on "Bindings" and then
on the "Add" button.
- Select HTTPS under the "type" selection and then
select the IP the domain is bound to.
- Under the SSL certificate select the certificate
that has been imported for EAS and autodiscover and then click ok
- Click Add again and select HTTP as the type of
binding and then select the IP that is bound to CNAME created in DNS.
- Click Ok.
Adding the MailEnable autodiscover service under
the website servicing EAS:
- Open the MailEnable ActiveSync management
- Navigate to the "IIS Integration" tab.
- Locate the SSL website and click to highlight the
- Click the button for "Install AutoDiscover" to
install the autodiscover service under the website.
The best way to test auto discover is to use the
Microsoft Exchange test connectivity website located here:
MailEnable also provides a tool for testing auto
discover located here:
MailEnable Exchange ActiveSync Deployment guide: http://www.mailenable.com/activesync/EAS_Deployment_Guide.pdf