mozilla-b2g/gaia-email-libs-and-more — pull request #71 by mozsquib (2012-10-29 21:12:38+00:00)
Title: Bug 803415 - Fix for MX lookup during autoconfig

r? @asutherland

This PR fixes MX lookups, notably using lowercase for the domain we get back from MX and also trying to grab the config from the local file store first, which lets us use our special config files for Google (to make it use ActiveSync).

To make this work on Google Apps domains, just copy `apps/email/autoconfig/gmail.com` to `apps/email/autoconfig/google.com`. If you need an account on a Google Apps domain to test, I can forward you the auth details of the test account I was given.

I'll issue the PR for gaia once this is merged.