Vincent Schonau writes:

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

SMTP commands must be terminated with a \r\n.

If you're invoking couriertls from a shell, pipe the standard input through addcr.


Attachment: pgpy8urBSuoG8.pgp
Description: PGP signature

Reply via email to