hmLoadTopic({
hmKeywords:"自动发现服务,SRV 记录",
hmTitle:"自动发现服务",
hmDescription:"MDaemon 支持自动发现服务，该服务允许用户通过仅提供其电子邮件地址和密码来配置其电子邮件客户端以连接到其账户，而不必知道其他配置的详细信息。大多数客户端都支持该服务，尽管少数客户对它的支持有限。自动发现服务默认处于启用状态，但您可以从 MDaemon...",
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 的主界面<\/a> &gt; <a href=\"mdaemons_main_display.html#StatisticsandTools\">统计<\/a>",
hmTitlePath:"MDaemon 的主界面 > 统计 > 自动发现服务",
hmHeader:"<h1 class=\"p_Heading1\" style=\"page-break-after: avoid;\"><span class=\"f_Heading1\">自动发现服务<\/span><\/h1>\n\r",
hmBody:"<p class=\"p_BodyText\"><span class=\"f_BodyText\">MDaemon 支持自动发现服务，该服务允许用户通过仅提供其电子邮件地址和密码来配置其电子邮件客户端以连接到其账户，而不必知道其他配置的详细信息。大多数客户端都支持该服务，尽管少数客户对它的支持有限。自动发现服务默认处于启用状态，但您可以从 MDaemon 的主应用程序界面手动启用或禁用它。在统计窗格的<\/span><span class=\"f_BodyText\" style=\"font-weight: bold;\">服务器<\/span><span class=\"f_BodyText\">下，右键点击<\/span><span class=\"f_BodyText\" style=\"font-weight: bold;\">自动发现服务<\/span><span class=\"f_BodyText\">，并点击<\/span><span class=\"f_BodyText\" style=\"font-weight: bold;\">启用\/禁用自动服务<\/span><span class=\"f_BodyText\">。<\/span><\/p>\n\r<p class=\"p_BodyText\"><span class=\"f_BodyText\">完全支持自动发现服务的客户端将使用用户电子邮件地址中的域名，对 Service Type _autodiscover._tcp 执行 DNS 服务(SRV)记录查找，并连接到该服务器以获取其他信息。因此，要支持自动发现，您必须为自动发现及其支持的服务创建 DNS SRV 记录。MDaemon 的自动发现服务实施支持： <a href=\"activesync--server.html\" class=\"topiclink\">ActiveSync<\/a> (airsync)、IMAP、POP、SMTP、DAV 和 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\">注意： 一些客户端将始终先查看 <\/span><span class=\"f_PlainText\">autodiscover.{domain}.{tld}<\/span><span class=\"f_BodyText\">。因此，让自动发现服务记录指向名为 <\/span><span class=\"f_PlainText\">autodiscover.{domain}.{tld}<\/span><span class=\"f_BodyText\"> 的服务器会有所帮助。在以下示例中，自动发现服务器是 <\/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\">示例：<\/span><\/p>\n\r<p class=\"p_BodyText2\"><span class=\"f_BodyText2\">域名： example.com<\/span><\/p>\n\r<p class=\"p_BodyText2\"><span class=\"f_BodyText2\">管理员应该为 service type _autodiscover 设置一个 _tcp service 记录<\/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\">在本例中，它指向 <\/span><span class=\"f_PlainText\">adsc.example.com<\/span><span class=\"f_BodyText2\">，其中 A 记录指向 <\/span><span class=\"f_PlainText\">192.168.0.101<\/span><\/p>\n\r<p class=\"p_BodyText2\"><span class=\"f_BodyText2\">然后，客户端将连接到该服务器，并询问某些特定协议的连接点信息： ActiveSync、IMAP、XMPP、SMTP 和 DAV 等<\/span><\/p>\n\r<p class=\"p_BodyText2\"><span class=\"f_BodyText2\">然后，自动发现服务将查找请求的协议，并返回这些协议的正确服务器名称。例如对于 ActiveSync，它将返回在 _tcp service record _airsync 中定义的服务器名称，在本例中，它是 eas.{domain}.{tld}<\/span><\/p>\n\r<p class=\"p_BodyText2\"><span class=\"f_BodyText2\">如果 Outlook 正在调用“自动发现”，它将返回 IMAP 和 SMTP 服务器，表示为 _imap 和 _msa 的 _tcp service 记录，导致服务器返回为 imap4.example.com 和 msa.example.com。<\/span><\/p>\n\r<p class=\"p_BodyText2\"><span class=\"f_BodyText2\">以下是正确设置自动发现服务的示例。 这假设您希望为每个协议使用唯一的名称，但很容易适应使用通用名称，例如 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\">还请参阅：<\/span><\/p>\n\r<p class=\"p_BodyText\"><span class=\"f_BodyText\">要了解有关 AutoDiscover 的更多常规信息，请参阅 Microsoft 文档： <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"
})
