On Tue, Apr 29, 2008 at 11:04:15AM +0200, Rolf Eike Beer wrote:
> Jay Chandler wrote:
> > After an upgrade to the latest Courier version (4.3.1,2 in the FreeBSD
> > ports tree), I started getting this message in Thunderbird whenever I
> > check mail with TLS enabled:
> > The current command did not succeed.   The mail server responded: error
> > in IMAP command received by the server.
> >
> > Checking via SSL returns:
> > $SERVER is not an IMAP4 server.
> >
> > Checking via plaintext works flawlessly-- unfortunately, this means I
> > can't wireshark the connection and see just what's going on.
> 
> You can use "ssldump" to look into SSL connections. You just have to provide 
> the keys to that program.

Or (I think) you could run strace on the couriertls program.

Or even more easily: just set IMAPDEBUGFILE=debug.txt in the imapd config
file, and restart imapd. This records all the IMAP tokens seen, inside
Maildir/debug.txt.

That only works for commands received after login is successful (which maybe
the case here - does your maillog show successful login?) If not, you can
probably modify imaplogin.c to get some debug pre-login too.

  FILE *debugfile=0;   // Change to fopen("/tmp/debug.txt","a");

Brian.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to