<<< Date Index >>>     <<< Thread Index >>>

Re: Debugging an IMAP connection - how?



El día Wednesday, September 19, 2007 a las 09:02:55AM +0100, Chris G escribió:

> Our MS Exchange server now allows IMAP connections and I want to use
> mutt to access it.  I have used mutt before with IMAP so know the
> basics.
> 
> However I'm having trouble getting it to connect to the Exchange
> server, so :-
> 
>     Are there any special gotchas when using mutt with Exchange?
> 
>     Is there any way to log the connection process so I can see where
>     it's failing?
> 
>     Any other ideas?
> 
> 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
> password.

Hi Chris,

You could use 'fetchmail' to connect to the IMAP port and watch
the IMAP dialog in the log of fetchmail. Create a file ~/.fetchmailrc
with these lines:

set  logfile    /tmp/fetchmail.log
defaults 
        timeout 30
        keep
        fetchall
poll your-imap-Exchange-server-name-here protocol IMAP
       username your-login-name
       password yout-password

Then run

$ fetchmail -vv

and check the dialog in the log file.

HIH

        matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC PICA GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <m.apitz@xxxxxxxxxxxx> - w http://www.oclcpica.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
OCLC PICA GmbH, Geschaeftsfuehrer: Christine Magin-Weeger, Norbert Weinberger
Sitz der Gesellschaft: Oberhaching, HRB Muenchen: 113261