Re: Debugging an IMAP connection - how?
On Wed, Sep 19, 2007 at 10:12:37AM +0200, Matthias Apitz wrote:
> 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.
>
The output actually comes out on STDOUT but that's not a problem.
Yes, it's shown up what seems to be the error, it says "account
currently disabled", they obviously haven't turned me on yet.
Thank you!
--
Chris Green