Subject: SSL PCpine "Unexpected SChannel error 80090302 - report this"

From: Russell Ruby <[email-masked]>
Date: Thu, 05 Apr 2001 17:26:58 -0700

System:

imap server:  Pine 4.33 distribution imap with openssl,openldap,
              gcc 2.7.2.3, on SunOS4.1.4
client:  PCpine 4.33

PCpine 4.33 is working great on several Win98/Win95 boxes with "imaps"
selected through the "/ssl" imap specifier in the various config file
(pineconf, pinerc, pinercex).  (Note: one should be careful to add
the "/ssl" specifier to all "imap" resource configurations, like
addressbooks and foldercollections, otherwise an additional
authentication is done to the normal imap service which is in
cleartext along with everything else involving that resource.
Admittedly this is an obvious consequence,  but initially I only
thought to add the "/ssl" to the inbox-path specification.)

However, one Win95 machine fails at the initial authentication (when
pcpine is doing the authentication before checking the inbox
through the SSL "imaps" connection), giving the following error:

      [Unexpected SChannel error 80090302 - report this]

which then seems to alternate with

     [Can't establish SSL session to math.orst.edu / imaps,993]

until it gives up trying.

The imapd server writes the following syslog messages for the
authentication attempt:

Apr  4 15:18:51 amamama imapd[24994]: imaps alternative service init \
					 from 128.193.80.152
Apr  4 15:18:51 amamama imapd[24994]: Command stream end of file, \
		while reading line user=??? host=edwards.MATH.ORST.EDU \
						[128.193.80.152]

If the "/ssl" specifier is removed from the configuration files, then
PCpine works just fine on this machine, except of course it is then
just using the normal unencrypted "imap" service.

Somehow, I expect that "reinstalling/upgrading" the Win9x OS would
make this problem go away.  Reinstalling PCpine does not help.

Russell Ruby   [email-masked]
-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------