none
Outlook的自动配置用户帐户(autodiscover/自动发现)无法配置POP3/IMAP方式?(第二次提问) RRS feed

  • 问题

  • 首先解释一下,OUTLOOK可以自动配置邮件的服务器设置(POP3/IMAP/EXCHANGE等),这个功能就叫autodiscover(自动发现),但是在中文社区几乎找不到什么可用的信息,英文的翻了几个,有点不大懂,自己看了官方给个注释,发现根本配不出来……


    首先域名和放置地点这些都搞定了(类似官方实例放置在这个文件夹下面,可以通过这个地址访问 https://domain.com/autodiscover/autodiscover.xml ),Outlook也获取到配置文件了



    主要就是配置文件的内容不正确!!!

    按照官方的这个页面给的配置帮助,还是配不出来

    https://technet.microsoft.com/zh-cn/library/cc511507(v=office.14).aspx


    我要配置的是这样

    pop.exmail.qq.com SSL 995

    smtp.exmail.qq.com SSL 465 (要勾选邮件设置里的“我的发送服务器(SMTP)要求验证”)


    但是!!!!自动获取配置,SMTP部分这里应该勾选“使用与接收邮件服务器相同的设置”而不是截图中的第三项,于是发邮件不成功,请看截图。





    附autodiscover.xml文件和微软自己的注释

    autodiscover.xml
    <?xml version="1.0" encoding="utf-8"?>
    <Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">  
      <Response xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a">  
        <Account> 
          <AccountType>email</AccountType>  
          <Action>settings</Action>  
          <Protocol> 
            <Type>POP3</Type>  
            <Server>pop.exmail.qq.com</Server>
    <LoginName>test@domain.net</LoginName>
            <Port>995</Port>  
            <DomainRequired>off</DomainRequired>  
            <SPA>off</SPA>  
            <SSL>on</SSL>  
            <AuthRequired>on</AuthRequired> 
          </Protocol>  
          <Protocol> 
            <Type>SMTP</Type>  
            <Server>smtp.exmail.qq.com</Server>
    <LoginName>test@domain.net</LoginName>
            <Port>465</Port>  
            <DomainRequired>off</DomainRequired>  
            <SPA>off</SPA> 
            <SSL>on</SSL>  
            <AuthRequired>on</AuthRequired>  
            <SMTPLast>on</SMTPLast> 
          </Protocol> 
        </Account> 
      </Response> 
    </Autodiscover>

    官方autodiscover.xml注释

    <!-- RESPONSE FROM THE SERVER -->
    <?xml version="1.0" encoding="utf-8" ?>
    <Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
    <!-- Response: Required
    This tag serves as an indication that the retrieved XML is an Autodiscovery Response
    -->
    <Response xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a">
    <!-- User: Optional
    This tag gives user-specific information.  Autodiscover must be UTF-8 encoded.
    -->
    <User>
    <!-- DisplayName: Optional
    The server may have a good formal display name.  The client can decide to accept it or change it.  This will save the user time in the default case.
    -->
    <DisplayName>John Doe</DisplayName>
    </User>

    <!-- Account: Required
    This tag specifies the type of account, such as Email vs Newsgroups, vs SIP server, etc.
    -->
    <Account>
    <!-- AccountType: Required
    This value indicates the type of the account.
    VALUES:
    email: The values under this Account tag indicate configuration settings for an email server.
    nntp: The values under this Account tag indicate configuration settings for a NNTP server. (not used by Outlook 2007)
    -->
    <AccountType>email | nntp</AccountType>

    <!-- Action: Required
    This value indicates if the goal of this account results is to provide the settings or redirect to another web server that can provide results.
    VALUES:
    redirectUrl: If this value is specified, then the URL tag will specify the http: or https: URL containing the Autodiscover results to be used.  In order to prevent the server from being able to send the client into an infinite loop, the client should stop redirecting after 10 redirects.
    redirectAddr: If this value is specified, then the XML tag will specify the e-mail address that Outlook should use to execute Autodiscover again.  In other words, the server is telling the client that the e-mail address the client should really be using for Autodiscover is not the one that was posted, but the one specified in this tag. 
    settings: If this value is specified, then the XML will contain the settings needed to configure the account.  The settings will primarily be under the PROTOCOL tag.
    -->
    <Action>redirectUrl | redirectAddr | settings</Action>

    <!-- RedirectUrl: Required if ACTION tag has value of 'redirectUrl'. Otherwise this tag must not exist.
    The value will be a https: URL that the client should use to obtain the Autodiscover settings or a http: URL that the client should use for further redirection.
    -->
    <RedirectUrl>redirect.URL</RedirectUrl>

    <!-- RedirectAddr: Required if ACTION tag has value of 'redirectAddr'. Otherwise this tag must not exist.
    The value will be an email address that the client should use to rediscover settings using the Autodiscover protocol.
    -->
    <RedirectAddr>email@address</RedirectAddr>

    <!-- Image: Optional
    This is a JPG picture to brand the ISP configuration experience with. The client can choose whether or not they download this picture to display. (not used by Outlook 2007)
    -->
    <Image>http://path.to.image.com/image.jpg</Image>

    <!-- ServiceHome: Optional
    This is a link to the ISP's Home Page. The client can choose whether or not they expose this link to the user. (not used by Outlook 2007)
    -->
    <ServiceHome>http://web.page.com</ServiceHome>

    <!-- Protocol: Required if ACTION tag has value of 'settings'. Otherwise, this tag must not exist.
    The tag encloses the specifications for a single account type.  The list of Protocol tags are in order of preference of the server.  The client may over ride the preference.
    -->
    <Protocol>
    <!-- TYPE: Required.
    The value here specifies what kind of mail account is being configured.
    POP3: The protocol to connect to this server is POP3. Only applicable for AccountType=email.
    SMTP: The protocol to connect to this server is SMTP. Only applicable for AccountType=email.
    IMAP: The protocol to connect to this server is IMAP. Only applicable for AccountType=email.
    DAV: The protocol to connect to this server is DAV. Only applicable for AccountType=email.
    WEB: Email is accessed from a web browser using an URL from the SERVER tag. Only applicable for AccountType=email. (not used by Outlook 2007)
    NNTP: The protocol to connect to this server is NNTP. Only applicable for AccountType=nntp. (not used by Outlook 2007)
    -->
    <Type>POP3 | SMTP | IMAP | DAV | WEB | NNTP</Type>

    <!-- ExpirationDate: Optional.
    The value here specifies the last date which these settings should be used. After that date, the settings should be rediscovered via Autodiscover again. If no value is specified, the default will be no expiration.
    -->
    <ExpirationDate>YYYYMMDD</ExpirationDate>

    <!-- TTL: Optional.
    The value here specifies the time to live in hours that these settings are valid for. After that time has elapsed (from the time the settings were retrieved), the settings should be rediscovered via Autodiscovery again. A value of 0 indicates that no rediscovery will be required. If no value is specified, the default will be a TTL of 1 hour.
    -->
    <TTL>168</TTL>

    <!-- Server: Required.
    The value here specifies the name of the mail server corresponding to the server type specified above.
    For protocols such as POP3, SMTP, IMAP, or NNTP, this value will be either a hostname or an IP address.
    For protocols such as DAV or WEB, this will be an URL.
    -->
    <Server>mail.contoso.com</Server> <!--IP Addr or DNS name of server-->

    <!-- Port: Optional.
    The value specifies the Port number to use.  If no value is specified, the default settings will be used depending on the mail server type.  This value is not used if the SERVER tag contains an URL.
    -->
    <Port>110</Port>

    <!-- LoginName: Optional.
    This value specifies the user's login.  If no value is specified, the default will be set to the string preceding the '@' in the email address.  If the Login name contains a domain, the format should be <Username>@<Domain>.  Such as JoeUser@SalesDomain.
    -->
    <LoginName>johndoe</LoginName>

    <!-- DomainRequired: Optional.  Default is off.
    If this value is true, then a domain is required during authentication.  If the domain is not specified in the LOGINNAME tag, or the LOGINNAME tag was not specified, the user will need to enter the domain before authentication will succeed.
    -->
    <DomainRequired>on | off</DomainRequired>

    <!-- DomainName: Optional.
    This value specifies the user's domain. If no value is specified, the default authentication will be to use the e-mail address as a UPN format <Username>@<Domain>. Such as JoeUser@SalesDomain.
    -->
    <DomainName></DomainName>

    <!-- SPA: (Secure Password Authentication) Optional.
    This value specifies whether or not secure password authentication is needed.
    If unspecified, the default is set to on.
    -->
    <SPA>on | off</SPA>

    <!-- SSL: Optional.
    This value specifies whether secure login is needed.
    If unspecified, the default is set to on.
    -->
    <SSL>on | off</SSL>

    <!-- AuthRequired: Optional.
    This value specifies whether authentication is needed (password).
    If unspecified, the default is set to on.
    -->
    <AuthRequired>on | off</AuthRequired> <!-- Optional: Is Authentication required? -->

    <!-- UsePOPAuth: Optional.
    This value can only be used for SMTP types.
    If specified, then the authentication information provided for the POP3 type account will also be used for SMTP.
    -->
    <UsePOPAuth>on | off</UsePOPAuth>

    <!-- SMTPLast: Optional.  Default is off.
    If this value is true, then the SMTP server requires that email be downloaded before sending email via the SMTP server.  This is often required because the SMTP server verifies that the authentication succeeded when downloading email.
    -->
    <SMTPLast>on | off</SMTPLast>
    </Protocol>
    </Account>
    </Response>
    </Autodiscover>




    电脑知识收藏夹 http:// www.x2009.net




    2016年12月17日 3:37