Open richey-v opened 9 years ago
I took a look to the erAutodiscover file and it's pretty easy to add new urls to test for autodiscovery settings.
If I've well understood your request, you need the implementation of the last steps of the Microsoft documentation: if all tried URLs failed, try to find a different domain name by use of SRV records in DNS corresponding to _autodiscover._tcp.example.com
(according you have a mail address like test@example.com
).
I've checked if we can use Thunderbird tools to do such a query to avoid to add an external Javascript library in the project. Mozilla has nsIDNSService to implements DNS requests, but unfortunately, it doesn't implement look for SRV records.
Note, that there's also a bug open by Mozilla for XMPP support in Thunderbird which need SRV records too: 787369.
Unfortunately, both bug reports have no more activity since december 2014.
It appears to me that exchangecalendar is using the domain from my email address instead of dereferencing the SRV in DNS to find the correct autodiscover URL. SRV for the domain of my email is programmed in DNS correctly:
So autodiscover should eventually try https://example.hosting.com/autodiscover/autodiscover.xml.
Following links may help: https://technet.microsoft.com/en-us/library/dd439398%28v=exchg.80%29.aspx http://www.virtuworks.com/how-to-setup-outlook-autodiscovery-for-your-domain/