hmLoadTopic({
hmKeywords:"AutoDiscovery Service,SRV Record",
hmTitle:"AutoDiscovery Service",
hmDescription:"MDaemon supports the AutoDiscovery service, which allows users to configure their email clients to connect to their accounts by providing only their email address and password,...",
hmPrevLink:"mdaemons_main_display.html#statisticsandtools",
hmNextLink:"mdaemons_main_display.html#messageandeventtrackingframe",
hmParentLink:"mdaemons_main_display.html#statisticsandtools",
hmBreadCrumbs:"<a href=\"mdaemons_main_display.html\">MDaemon\'s Main Display<\/a> &gt; <a href=\"mdaemons_main_display.html#StatisticsandTools\">Stats<\/a>",
hmTitlePath:"MDaemon\'s Main Display > Stats > AutoDiscovery Service",
hmHeader:"<h1 class=\"p_Heading1\" style=\"page-break-after: avoid;\"><span class=\"f_Heading1\">AutoDiscovery Service<\/span><\/h1>\n\r",
hmBody:"<p class=\"p_BodyText\"><span class=\"f_BodyText\">MDaemon supports the AutoDiscovery service, which allows users to configure their email clients to connect to their accounts by providing only their email address and password, rather than having to know other configuration details such as mail server names and ports. Most clients support the service, although a few have only limited support for it. The AutoDiscovery service is enabled by default, but you can manually enable or disable it from MDaemon\'s main application interface. Under <\/span><span class=\"f_BodyText\" style=\"font-weight: bold;\">Servers<\/span><span class=\"f_BodyText\"> in the Stats pane, right-click <\/span><span class=\"f_BodyText\" style=\"font-weight: bold;\">AutoDiscovery Service<\/span><span class=\"f_BodyText\">, and click <\/span><span class=\"f_BodyText\" style=\"font-weight: bold;\">Enable\/Disable AutoDiscovery Service<\/span><span class=\"f_BodyText\">.<\/span><\/p>\n\r<p class=\"p_BodyText\"><span class=\"f_BodyText\">Clients in which the AutoDiscovery service is fully supported will use the domain name in the user\'s email addresss to do a DNS service (SRV) record lookup for Service Type _autodiscover._tcp and connect to that server to get additional information. Therefore to support AutoDiscovery you must create DNS SRV records for AutoDiscovery and the services it supports. MDaemon\'s implementation of the AutoDiscovery service supports: <a href=\"activesync--server.html\" class=\"topiclink\">ActiveSync<\/a> (airsync), IMAP, POP, SMTP, DAV, and XMPP.<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">_autodiscover._tcp &nbsp; &nbsp; &nbsp; &nbsp;SRV 0 0 443 adsc.example.com.<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">_airsync._tcp &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SRV 0 0 443 eas.example.com.<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">_imap._tcp &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SRV 0 0 0  &nbsp;imap4.example.com.<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">_pop._tcp &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SRV 0 0 0  &nbsp;pop3.example.com.<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">_smtp._tcp &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SRV 0 0 0  &nbsp;msa.example.com.<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">_caldav._tcp &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SRV 0 0 0  &nbsp;dav.example.com.<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">_carddav._tcp &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SRV 0 0 0  &nbsp;dav.example.com.<\/span><\/p>\n\r<p class=\"p_CodeGrayBackgroundLast\"><span class=\"f_CodeGrayBackgroundLast\">_xmpp-client._tcp &nbsp; &nbsp; &nbsp; &nbsp;SRV 0 0 0  &nbsp;chat.example.com.<\/span><\/p>\n\r<p class=\"p_BodyText\"><span class=\"f_BodyText\">Note: a few clients will always look at <\/span><span class=\"f_PlainText\">autodiscover.{domain}.{tld}<\/span><span class=\"f_BodyText\"> first. So having the AutoDiscovery service record point to a server named <\/span><span class=\"f_PlainText\">autodiscover.{domain}.{tld}<\/span><span class=\"f_BodyText\"> could help in that regard. In the following example, however, the AutoDiscovery server is <\/span><span class=\"f_PlainText\">adsc.example.com<\/span><span class=\"f_BodyText\">.<\/span><\/p>\n\r<p class=\"p_BodyText\"><span class=\"f_BodyText\">Example:<\/span><\/p>\n\r<p class=\"p_BodyText2\"><span class=\"f_BodyText2\">Domain name: example.com<\/span><\/p>\n\r<p class=\"p_BodyText2\"><span class=\"f_BodyText2\">The admin should set up a _tcp service record for service type _autodiscover<\/span><\/p>\n\r<p class=\"p_BodyText2\"><span style=\"width:0.8750rem;display:inline-block\">&nbsp;<\/span><span class=\"f_PlainText\">_autodiscover._tcp SRV 0 0 443 adsc.example.com.<\/span><\/p>\n\r<p class=\"p_BodyText2\"><span class=\"f_BodyText2\">In this case, it points to <\/span><span class=\"f_PlainText\">adsc.example.com<\/span><span class=\"f_BodyText2\">, which has an A record pointing to <\/span><span class=\"f_PlainText\">192.168.0.101<\/span><\/p>\n\r<p class=\"p_BodyText2\"><span class=\"f_BodyText2\">The client will then connect to that server, and ask for connection point information for some specific protocols: ActiveSync, IMAP, XMPP, SMTP, DAV, etc...<\/span><\/p>\n\r<p class=\"p_BodyText2\"><span class=\"f_BodyText2\">The AutoDiscovery service then looks up the protocols requested and returns the proper server names for those protocols. i.e. For ActiveSync, it would return the server name defined in the _tcp service record _airsync, which in this example, would be eas.{domain}.{tld}<\/span><\/p>\n\r<p class=\"p_BodyText2\"><span class=\"f_BodyText2\">If Outlook were calling AutoDiscovery, it would return the IMAP and SMTP Servers, represented for the _tcp service records of _imap and _msa, resulting in the servers being returned as imap4.example.com and msa.example.com.<\/span><\/p>\n\r<p class=\"p_BodyText2\"><span class=\"f_BodyText2\">Here is an example of setting up Auto Discovery Services correctly. This assumes that you wish to use unique names for each protocol, but is easily adapted to use say a common name, such as mail.example.com.<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">;<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">;  Database file example.com.dns for example.com zone.<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">;<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">&nbsp;<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">@ &nbsp; &nbsp; &nbsp; &nbsp;IN  SOA dns.mydnsprovider.org. hostmaster.mydnsprovider.org. (<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span style=\"width:0.8750rem;display:inline-block\">&nbsp;<\/span> &nbsp; &nbsp; &nbsp; &nbsp;<span class=\"f_CodeGrayBackground\">4  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ; serial number<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span style=\"width:0.8750rem;display:inline-block\">&nbsp;<\/span> &nbsp; &nbsp; &nbsp; &nbsp;<span class=\"f_CodeGrayBackground\">900  &nbsp; &nbsp; &nbsp; &nbsp; ; refresh<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span style=\"width:0.8750rem;display:inline-block\">&nbsp;<\/span> &nbsp; &nbsp; &nbsp; &nbsp;<span class=\"f_CodeGrayBackground\">600  &nbsp; &nbsp; &nbsp; &nbsp; ; retry<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span style=\"width:0.8750rem;display:inline-block\">&nbsp;<\/span> &nbsp; &nbsp; &nbsp; &nbsp;<span class=\"f_CodeGrayBackground\">86400  &nbsp; &nbsp; &nbsp; ; expire<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span style=\"width:0.8750rem;display:inline-block\">&nbsp;<\/span> &nbsp; &nbsp; &nbsp; &nbsp;<span class=\"f_CodeGrayBackground\">3600  &nbsp; &nbsp; &nbsp;) ; default TTL<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">&nbsp;<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">;<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">;  Zone NS records<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">;<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">&nbsp;<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">@ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;NS dns.mydnsprovider.org<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">&nbsp;<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">;<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">;  Zone records<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">;<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">&nbsp;<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">@ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;A 192.168.0.100<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">adsc &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;A 192.168.0.101<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">www &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;A 192.168.0.102<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">imap4 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;A 192.168.0.103<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">pop3 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;A 192.168.0.104<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">msa &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;A 192.168.0.105<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">eas &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;A 192.168.0.106<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">api &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;A 192.168.0.107<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">autodiscover &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;A 192.168.0.108<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">dav &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;A 192.168.0.109<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">chat &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;A 192.168.0.110<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">inbound &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;A 192.168.0.111<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">&nbsp;<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span style=\"width:0.8750rem;display:inline-block\">&nbsp;<\/span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class=\"f_CodeGrayBackground\">MX 10 inbound.example.com.<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">;<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">;  Service records<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">;<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">&nbsp;<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">_autodiscover._tcp &nbsp; &nbsp; &nbsp; &nbsp;SRV 0 0 443 adsc.example.com.<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">_airsync._tcp &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SRV 0 0 443 eas.example.com.<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">_imap._tcp &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SRV 0 0 0  &nbsp;imap4.example.com.<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">_pop._tcp &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SRV 0 0 0  &nbsp;pop3.example.com.<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">_smtp._tcp &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SRV 0 0 0  &nbsp;msa.example.com.<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">_caldav._tcp &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SRV 0 0 0  &nbsp;dav.example.com.<\/span><\/p>\n\r<p class=\"p_CodeGrayBackground\"><span class=\"f_CodeGrayBackground\">_carddav._tcp &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SRV 0 0 0  &nbsp;dav.example.com.<\/span><\/p>\n\r<p class=\"p_CodeGrayBackgroundLast\"><span class=\"f_CodeGrayBackgroundLast\">_xmpp-client._tcp &nbsp; &nbsp; &nbsp; &nbsp;SRV 0 0 0  &nbsp;chat.example.com.<\/span><\/p>\n\r<p class=\"p_SeeAlso\" style=\"page-break-after: avoid; border-right: none; border-bottom: none; border-left: none;\"><span class=\"f_SeeAlso\">See:<\/span><\/p>\n\r<p class=\"p_BodyText\"><span class=\"f_BodyText\">For more general information on AutoDiscover, see the Microsoft document: <a href=\"https:\/\/docs.microsoft.com\/en-us\/exchange\/client-developer\/exchange-web-services\/autodiscover-for-exchange\" target=\"_blank\" class=\"weblink\">Autodiscover for Exchange<\/a>.<\/span><\/p>\n\r<p class=\"p_BodyText\"><span class=\"f_BodyText\">&nbsp;<\/span><\/p>\n\r"
})
