What is Smartdiscover
SmartDiscover ensures that any client application will receive a list of available ports, protocols, URLs, and server addresses. Users have to know just their e-mail address and password.
Virtually any protocol settings can be configured using the AutoDiscover feature, provided that the corresponding client has AutoDiscover support. Microsoft has only implemented AutoDiscover in the Exchange server for Outlook and Windows Mobile ActiveSync clients. Still, IceWarp goes further and extends available applications by its e-mail client, SIP and IM clients, and Notifier utility.
How it works
Once the client application is supplied with an e-mail and password, it will automatically try to contact the server via HTTP GET requests, using the domain part of the e-mail address. If the URL doesn't exist or fails with an error, the client will automatically retry the other URL until the server's AutoDiscover service can be contacted.
1. SmartDiscover domain attempt
A client who has an e-mail address and password of the user will issue a simple HTTP GET request to: https://autodiscover.icewarpdemo.com/autodiscover/autodiscover.xml
Authentication requests should be returned from the server. An XML response is returned from the server when authenticated properly via HTTP Authentication.
2. Original domain attempt
If the URL does not exist or fails with an error, the client should retry the additional URL using the same mechanism: https://icewarpdemo.com/autodiscover/autodiscover.xml
3. MX query host attempt (this step is specific to clients developed by IceWarp)
If still unsuccessful, a client MAY issue a DNS MX query for the domain to list the records corresponding to the server's hostname. It checks all MX records in the order of preference and
attempts to contact the same URL as in step 2.
How to set it up
1. The administrator needs to ensure that either of these DNS records exists:
DNS A record:
autodiscover.icewarpdemo.com, which points to your IP address of the server
autodiscover.icewarpdemo.com points as a CNAME to one of your A records pointed to your server's IP address.
2. A non-expired, CA-issued SSL certificate must be installed on the server for AutoDiscover to work with iPhone. Windows Mobile requires a non-expired, either self-signed or CA-issued SSL certificate public key to be installed on the device, corresponding to the certificate installed on the server. Otherwise, the AutoDiscover will fail due to an untrusted connection with the server (and, therefore, untrusted authentication).
On the server, you want to set up SMTP, POP3, IMAP, XMPP, and SIP on mail.<domain>.com and put everything on a standard.
URLs of the services running under the HTTP (Control) service. These URLs consist of:
|SyncML (OMA DS)|
|WebDAV & SmartAttach|