Re: Debugging an IMAP connection - how?
- To: mutt-users@xxxxxxxx
- Subject: Re: Debugging an IMAP connection - how?
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Wed, 19 Sep 2007 09:19:17 -0500
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date:from:to:subject:message-id:references:mime-version:content-type:in-reply-to; q=dns/txt; s=default; bh=eWtfKz4ioP+bjhRj/r9Pbq8uvpI=; b=TH6LWxaHJZI1wCIco9LDiqArhBLGwapeYqdOk+82x2/OtIeJicgVJsOAyDDug/5cItoebbvFDQcBw7NRGKix6xHC+gMVHX+WRmf1p+Lv8wux6WrSZk/CtlTMSewmzlECYFdG13rPgj6NNBfnBk5kkaltPa3NBwDOTEwrtYxXUmo=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=AGQioO1d8U9cRvrNqTaj5V1A1Gd12AKrRHRK1fqwThj/gRG8lD/JETs0P87S84faVcWiZIjUqmEHCEXb0S+3S69Dg5aZxVZ5ojUUX0Lx4yOMEBdWBukhN0i8ARiu06ao8cR9Xznln+raLwHY5t51m9lQm7yTqG6Zuf9YSexJ+24=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent;
- In-reply-to: <20070919080255.GA63112@xxxxxxxxxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- References: <20070919080255.GA63112@xxxxxxxxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.16 (2007-09-09)
-----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-----