There are a couple of problems with our auth detection in <http://mxr.mozilla.org/comm-central/source/mailnews/base/prefs/content/accountcreation/guessConfig.js#617>, as mentioned in bug 556491. For instance: We want "AUTHINVALID CRAM-MD5", and "AUTH ANYTHINGBUTCRAM-MD5" to not match the regex for "CRAM-MD5". We want "AUTH=PLAIN AUTH=GSSAPI7" to be the same as "AUTH=PLAIN". I wonder if it makes sense to split the auth line on spaces, then test each token to see if it matches what we think we want. Later, Blake.
You need to log in before you can comment on or make changes to this bug.