I am setting up a new emailserver, and I want to use autodiscover on it to let Outlook autoconfigure itself. In my current situation I have multiple virtual domains and only one certificate, so I use mail.example.com
as STMP, POP and IMAP server.
This is my autodiscover.xml
:
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
<Response xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a">
<User>
<DisplayName>email@example.com</DisplayName>
</User>
<Account>
<AccountType>email</AccountType>
<Action>settings</Action>
<Protocol>
<Type>IMAP</Type>
<Server>mail.example.com</Server>
<Port>993</Port>
<DomainRequired>off</DomainRequired>
<LoginName>email@example.com</LoginName>
<SPA>off</SPA>
<SSL>on</SSL>
<AuthRequired>on</AuthRequired>
</Protocol>
<Protocol>
<Type>POP3</Type>
<Server>mail.example.com</Server>
<Port>995</Port>
<DomainRequired>off</DomainRequired>
<LoginName>email@example.com</LoginName>
<SPA>off</SPA>
<SSL>on</SSL>
<AuthRequired>on</AuthRequired>
</Protocol>
<Protocol>
<Type>SMTP</Type>
<Server>mail.example.com</Server>
<Port>587</Port>
<DomainRequired>off</DomainRequired>
<LoginName>email@example.com</LoginName>
<SPA>off</SPA>
<SSL>on</SSL>
<AuthRequired>on</AuthRequired>
</Protocol>
</Account>
</Response>
</Autodiscover>
My email address passes the AutoDiscovery test at https://testconnectivity.microsoft.com
I can see Outlook requesting the file in the NGINX log:
[28/Feb/2018:22:04:31 +0100] "POST /autodiscover/autodiscover.xml HTTP/1.1" 200 1658 "-" "Microsoft Office/16.0 (Windows NT 10.0; MAPI 16.0.8431; Pro)"
The configuration works with the old autoconfiguration dialog:
The configuration doesn't work with the new "Welcome to Outlook" dialog (ZeroConfig I believe it's called)
When I click "Change account type" and then "IMAP", it has the correct settings listed. But when I check my mail.log
, I see Outlook hasn't tried any of those settings while auto-configuring.
I have the problem on both my desktop and laptop, both running Office build 1708.
Has anybody got the same problems or can anybody help me in the right direction? I've wasted way too much time on this problem now.
EDIT:
To clarify, I'm not running an Exchange server. I only want to let Outlook know the correct IMAP and POP. I've tested the autodiscover with the tool in the contextmenu, and it lists the correct settings, but the "Simpified Account Creation" dialog still fails and doesn't connect to IMAP, POP, or SMTP. It does however connect to https://mail.example.com/autodiscover/autodiscover.xml.