-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday, September 19 at 09:02 AM, quoth Chris G:
> Are there any special gotchas when using mutt with Exchange?

You probably have to be very careful with your imap_authenticators 
setting. If the one that the server requires isn't in the list, or if 
the server advertises something that it won't actually accept, that 
can prevent mutt from using that server.

> Is there any way to log the connection process so I can see where
> it's failing?

Yup. Compile mutt with debugging turned on, then run mutt like so:

     mutt -d 2

A trace of what mutt did (including its imap conversation) will be in 
~/.muttdebug0

>    Any other ideas?

Try authenticating by hand. Here's a webpage that explains how to do 
it: http://www.memoryhole.net/index.php?section=reference&inc=imap

Essentially, what you're looking for is in the CAPABILITY string, what 
auth mechanisms does it require? My dovecot server sends this: 

CAPABILITY IMAP4rev1 SASL-IR SORT THREAD=REFERENCES MULTIAPPEND 
UNSELECT LITERAL+ IDLE CHILDREN NAMESPACE LOGIN-REFERRALS STARTTLS 
AUTH=PLAIN AUTH=LOGIN

The important part is those last two entries: it'll accept either 
PLAIN or LOGIN-style authentication attempts. Find out what your 
Exchange server will accept, and make sure it's listed in 
imap_authenticators in your muttrc.

>I'm pretty sure I am now set up as an IMAP user on the Exchange server
>as last week I was getting an error (using Thunderbird) that was
>saying that I didn't exist as a user.  Now I just get a failed login
>which implies that I have my password wrong but my password works on
>the Exchange webmail login and (as far as I know) that is the same

The other thing I've heard is that Exchange sometimes requires your 
email address as the user name when doing IMAP even though it does not 
when doing webmail logins.

~Kyle
- -- 
It is not bigotry to be certain we are right; but it is bigotry to be 
unable to imagine how we might possibly be wrong.
                                                  -- Gilbert Chesterton
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iD8DBQFG8S/lBkIOoMqOI14RAoStAKD/jSfO8ZV9abZu50Ga3KnJcFX6HQCg04/o
aq8MJEf6AfP4unFlW30dYE4=
=llD1
-----END PGP SIGNATURE-----

Reply via email to