Bug 1753 - spamd with ssl waits for newline from the tty before processing of sslspamc requests starts
Summary: spamd with ssl waits for newline from the tty before processing of sslspamc ...
Status: RESOLVED FIXED
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: spamc/spamd (show other bugs)
Version: 2.53
Hardware: Other NetBSD
: P4 normal
Target Milestone: 2.60
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-06 08:35 UTC by Klaus Heinz
Modified: 2003-05-24 11:34 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Klaus Heinz 2003-04-06 08:35:34 UTC
Hi,

xterm 1:
  $ spamd -H --ssl --server-key test.pem --server-cert test.pem

xterm 2:
  $ sslspamc -S < tmp/example.mail

Nothing happens if I do not press the return key in xterm 1.
Subsequent invocations of 'sslspamc -S' in xterm 2 run without any delay.
The problem does not arise if spamd is started in daemon mode with -d.

ciao
     Klaus
Comment 1 Klaus Heinz 2003-05-24 19:34:45 UTC
The bug was caused by IO::Socket::SSL::fileno not working correctly.
Fixed by version 0.92 of IO::Socket::SSL.