IMPORTANT NOTE: We are aware of some outstanding problems Auto-Discover which we are currently working with the US developers on so the steps below may encounter some issues at present
MDaemon includes support for Auto-Discover, which simplifies the configuration of ActiveSync accounts in email clients that support the protocol. The Auto-Discovery service is enabled in MDaemon by default.
In most cases, the email address and password are all that’s required to configure accounts.
- Certain clients may behave differently when querying Auto-Discover records or may not correctly support Auto-Discover at all.
- The Auto-Discover service requires Webmail to have HTTPS enabled.
- A valid (non self-signed) SSL certificate should be used.
- The SSL certificate must also have an alternative host name defined in the form autodiscover.domain.com.
You can use Let’s Encrypt to generate a root trusted certificate and then also include an alternative host name in its setup for the autodiscover.domain.com entry. See this article for details regarding the Lets Encrypt setup process in MDaemon.
1. Add the following Service (SRV) records to the public DNS (replace domain.com with the MDaemon domain):
Port Number: 443
Port Number: 443
2. Add a new A record or CNAME to the public DNS. If using an A record, it is required that the record is autodiscover.domain.com and it points to public IP address of the server that MDaemon is installed on. If using a CNAME, it is required that the record is autodiscover.domain.com and it points to the host name of the MDaemon server (typically in the form mail.domain.com).
Once the DNS records have propagated, verify that you can access the Auto-Discovery Service for MDaemon. You can do this by browsing to the following address:
Client Setup Process:
1. The end-user typically enters their e-mail address and password on their email client.
The client uses the domain information in the user’s e-mail address (domain.com), and tries to locate the Auto-Discovery service by sending an Auto-Discovery command request to the following predefined URLs:
2. If the Auto-Discover is successful, then the account setup on the device should be automatic and no further server or host name details need to be entered.
MDaemon logs Auto-Discover attempts in its AutoDiscover-YYYY-MM-DD.log and MDPP-YYYY-MM-DD.log files which can be found in the \MDaemon\Logs folder.