2 messages in net.sourceforge.lists.courier-users[courier-users] Fedora Core 3 openssl...
FromSent OnAttachments
Vincent SchonauFeb 20, 2005 7:18 am 
Sam VarshavchikFeb 20, 2005 7:58 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Fedora Core 3 openssl / couriertls problemsActions...
From:Vincent Schonau (vin@xs4all.nl)
Date:Feb 20, 2005 7:18:26 am
List:net.sourceforge.lists.courier-users

Since upgrading to Fedora Core 3, esmtpd-ssl and smtp-starttls have stopped working for me; on a 0.47 and a 0.48.2 installation.

An SSL or STARTTLS connection can be established, and the ESMTP greeting is sent to the client, but it appears the server is not reading the input (from an openssl s_client session):

220 werkt.niet.net ESMTP NO UCE NO UBE You may be relaytested EHLO TEST

[ and then... nothing ]

A strace of the couriertls process at this point shows:

select(6, [0 5], [], NULL, NULL) = 1 (in [0]) read(0, "\27\3\1\0 ", 5) = 5 read(0, "b\373\202Vqo\36\302Zg\306\rew\324\364\220f1\315\327G\216"..., 32) = 32 read(0, "\27\3\1\0 ", 5) = 5 read(0, "*\362\24\267|\23\224\311\331\372o\10\341\245ID\366z\345"..., 32) = 32 select(6, [5], [5], NULL, NULL) = 1 (out [5]) write(5, "EHLO TEST\n", 10) = 10 read(0, 0xb7e10560, 5) = -1 EAGAIN (Resource temporarily unavailable) select(6, [0 5], [], NULL, NULL

[ and then... nothing ]

Similar results with couriertls in 'debugging' mode:

export TLS_TRUSTCERTS=/usr/lib/courier/share/rootcerts [vince@werkt ~]$ couriertls -port=25 -host=zeker.niet.net -protocol=smtp 220 net.niet.net ESMTP NO UCE NO UBE You may be relay tested STARTTLS 220 Ok HELO TEST

[ ... ]

Both systems have $ rpm -q openssl openssl-0.9.7a-40

(stock Fedora Core).

How do I go about debugging this problem further?

Vince.