Email Autodiscovery Not Being Probed By Android

Android's default email client is supposed to probe the server for the domain of the user's email address per outlook autodiscovery. This bug seems to indicate that at least the first two steps of that protocol do work.

For example, on the first screen, you enter the email address ([email protected]) and password and touch "Next" and Android should attempt to fetch https://example.com/autodiscover/autodiscover.xml and if that fails, try to fetch https://autodiscover.example.com/autodiscover/autodiscover.xml

However, on THREE separate phones (both 4.4 and version 5), I have found that not to be the case. After touching "Next", Android claims "Checking auto setup information..." but I have watched the web (and email) server logs and NOTHING happens at all. After a few seconds, the phone enters manual setup mode. I also watched for ANY packets hitting the server from the phone's IP address and I got zilch.

So what's Android doing exactly? All I can think is that it's trying (and failing?) to do some kind of DNS lookup. Note that when I use manual setup, everything works fine. I am also able to manually access the autodiscover/autodiscover.xml file manually in the default web browser of the phone (thus my DNS configuration should be fine).

Why do other people reporting on that bug say the first two autodiscover steps work? What else can I do to diagnose the problem? Do I have to root a phone and find a packet sniffer for it?

If no one knows what's going on, can you help me find where to go to try to read the code... maybe reading the code will produce some answers?


I'm not aware of "outlook Autodiscovery" working properly without having hints in the domain DNS.

I assume you are talking about an "Exchange Server", but can you be a bit more specific about which "Android's default email client", I have 3 in front of me and they each have a different "default" email client installed.

You also don't mention your server, if you mange it, if its hosted by your ISP or a hosting provider -- not all can be configured the same way as the following links will show.

HTH

ISP SPecific http://www.rackspace.com/apps/support/portal/1218 http://kb.intermedia.net/article/1306 http://www.virtuworks.com/how-to-setup-outlook-autodiscovery-for-your-domain/

Microsoft https://support.microsoft.com/en-us/kb/940881 http://blogs.technet.com/b/rmilne/archive/2014/10/02/how-to-check-exchange-autodiscover-srv-record-using-nslookup.aspx

3rd party Blogs https://acbrownit.wordpress.com/2012/12/20/internal-dns-and-exchange-autodiscover/