ActiveSync Autodiscover
Achim J. Latz
achim+automx at qustodium.net
Tue May 29 16:54:16 CEST 2012
Hello list:
Autodiscover seems to work fine for Outlook and Thunderbird! I haven't
yet tried with a Outlook itself (implementation details ;-), but the MS
tests seem to work fine (see below [0]) and return a valid XML response
with the correct settings.
Unfortunately, it appears that "MS ActiveSync Autodiscover" [1] is not
working, and perhaps that is the reason why neither iOS nor Mail.app
seem to be able to autoconfigure in my tests:
* * * * * Exchange ActiveSync Autodiscover (not working)
ExRCA is attempting to retrieve an XML Autodiscover response from URL
https://autodiscover.domain.tld/AutoDiscover/AutoDiscover.xml for user
joe at domain.tld.
ExRCA failed to obtain an Autodiscover XML response.
Additional Details
The Response element in the payload was null.
XML response:
<?xml version="1.0"?>
<Autodiscover xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006"
/>
apache2 log:
207.46.14.62 - - [29/May/2012:16:32:35 +0200] "OPTIONS
/AutoDiscover/AutoDiscover.xml HTTP/1.1" 500 - "-"
"Microsoft-Server-ActiveSync/12.0+(TestExchangeConnectivity.com)"
207.46.14.62 - - [29/May/2012:16:32:35 +0200] "POST
/AutoDiscover/AutoDiscover.xml HTTP/1.1" 200 1058 "-"
"Microsoft-Server-ActiveSync/12.0+(TestExchangeConnectivity.com)"
207.46.14.62 - - [29/May/2012:16:32:38 +0200] "OPTIONS
/AutoDiscover/AutoDiscover.xml HTTP/1.1" 500 - "-"
"Microsoft-Server-ActiveSync/12.0+(TestExchangeConnectivity.com)"
207.46.14.62 - - [29/May/2012:16:32:38 +0200] "POST
/AutoDiscover/AutoDiscover.xml HTTP/1.1" 200 1058 "-"
"Microsoft-Server-ActiveSync/12.0+(TestExchangeConnectivity.com)"
As you can see from the apache2 log entries, they slightly differ from
the successful ones quoted below for "Outlook Autodiscover".
Is it possible that this is related to the "account_type = email"
setting? SSL certs, vhost, mod_wsgi etc. work fine: Thunderbird reads
the values perfectly, and again the MS validator works for Outlook
Autodiscover but not for ActiveSync Autodiscover.
Any ideas? Is anybody using AutoMX to successfully supply iOS and
Android devices with email setup information?
Best regards, Achim
[0] * * * * * Outlook Autodiscover (working)
ExRCA is attempting to retrieve an XML Autodiscover response from URL
https://domain.tld/AutoDiscover/AutoDiscover.xml for user joe at domain.tld.
The Autodiscover XML response was successfully retrieved.
Additional Details
Autodiscover Account Settings
XML response:
<?xml version="1.0"?>
<Autodiscover xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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>SMTP</Type>
<Server>mail.domain.tld</Server>
<Port>587</Port>
<DirectoryPort>0</DirectoryPort>
<ReferralPort>0</ReferralPort>
<TTL>0</TTL>
<DomainRequired>off</DomainRequired>
<LoginName>joe at domain.tld</LoginName>
<SPA>off</SPA>
<Encryption>TLS</Encryption>
<AuthRequired>on</AuthRequired>
</Protocol>
<Protocol>
<Type>IMAP</Type>
<Server>mail.domain.tld</Server>
<Port>143</Port>
<DirectoryPort>0</DirectoryPort>
<ReferralPort>0</ReferralPort>
<TTL>0</TTL>
<DomainRequired>off</DomainRequired>
<LoginName>joe at domain.tld</LoginName>
<SPA>off</SPA>
<Encryption>TLS</Encryption>
<AuthRequired>on</AuthRequired>
</Protocol>
</Account>
</Response>
</Autodiscover>
apache2 log:
207.46.14.62 - - [29/May/2012:16:39:28 +0200] "POST
/AutoDiscover/AutoDiscover.xml HTTP/1.1" 500 - "-"
"Microsoft+Office/12.0+(TestExchangeConnectivity.com)"
207.46.14.62 - - [29/May/2012:16:39:29 +0200] "POST
/AutoDiscover/AutoDiscover.xml HTTP/1.1" 200 1058 "-"
"Microsoft+Office/12.0+(TestExchangeConnectivity.com)"
[1] <https://www.testexchangeconnectivity.com>
More information about the automx-users
mailing list