[sylpheed:32721] SSL/IMAP problem with Sylpheed 2.6.0beta1 (and earlier)

Oisín Mac Fhearaí denpashogai at gmail.com
Sat Nov 15 00:41:03 JST 2008


Hi, sometimes, one of my mailboxes acts funny with Sylpheed, and
clicking an undownloaded message will cause this to be printed to the
log:

[15:23:45] IMAP4> 14 UID FETCH 772 BODY.PEEK[]
** LibSylph-WARNING: SSL_peek() returned error 5, ret = -1

** LibSylph-WARNING: can't fetch message 772

Looking at a copy of the openssl source:

////
int SSL_peek(SSL *s,void *buf,int num)
	{
	if (s->handshake_func == 0)
		{
		SSLerr(SSL_F_SSL_READ, SSL_R_UNINITIALIZED);
		return -1;
		}

	if (s->shutdown & SSL_RECEIVED_SHUTDOWN)
		{
		return(0);
		}
	return(s->method->ssl_peek(s,buf,num));
	}
////

So either s->handshake_func == 0 or s->method->ssl_peek(...) returned
-1. Not sure where to go from there. I get the feeling that my mailbox
may be at fault, but I'd like to hear any feedback on this issue.

Oisín


More information about the Sylpheed mailing list