[EMAIL PROTECTED] dkg]$ /usr/sbin/stunnel -c -D 5 -f -r mailserver.foo:465 2004.02.04 14:32:00 LOG5[5868:16384]: Using 'mailserver.foo.465' as tcpwrapper service name
2004.02.04 14:32:00 LOG5[5868:16384]: stunnel 3.26 on i386-pc-linux-gnu PTHREAD+LIBWRAP with OpenSSL 0.9.7c 30 Sep 2003
<<< 220 mailserver.foo ESMTPEHLO pinhead
<...>
nothing else i do after receiving the 220 string seems to have any effect.
stunnel is merely copying terminal input to/from the remote server. Your terminal is probably generating LF-terminated lines of text.
SMTP uses lines of text terminated by CRLF. The remote server is just waiting for input terminated by CRLF.
pgp00000.pgp
Description: PGP signature
