[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

stunnel and sendmail




I'm trying to get ssmtp working by using stunnel and sendmail. I've put an entry in inetd.conf like:

ssmtp           stream  tcp     nowait  root.root	/usr/sbin/stunnel -d 465 -r 25 -v 1

so stunnel will just forward a port the sendmail daemon. sendmail on its own works. I've added a similar configuration for imaps and that works, so I think my stunnel is installed correctly.

When a client (I've only tested with Mozilla, but that's all I have available that supports these protocols -- if you know of other clients I'd love to to hear them) connects to the the server stunnel does open a connection to sendmail, and sendmail sends back the banner. But, stunnel never receives the banner and the connection just stalls. I know this because I've watched the transaction with tcpdump and netstat and can see that the banner never leaves the output queue of the port that sendmail has bound for the connection.

Does anyone have any ideas about what might be going wrong?





Reply to: