s_client doesn't like pipes

2013-02-22 Thread Andreas Mattheiss
Sorry, but the mailing list program has eaten more than half of my rant. Looks like it doesn't like a dot on it's own on a line (Yes, I know it's the SMTP signal for EOT). Hi, I was monkeying around a bit with s_client. Idea is to feed s_client a file with commands required to STARTTLS, authenti

Re: s_client doesn't like pipes

2013-02-21 Thread Jeffrey Walton
On Wed, Feb 20, 2013 at 4:10 PM, Andreas Mattheiss wrote: > > s_client doesn't like pipes This works well for me: $ echo "GET / HTTP1.0" | openssl s_client -connect example.com:443 It looks like you need something more like a

s_client doesn't like pipes

2013-02-21 Thread Andreas Mattheiss
Hi, I was monkeying around a bit with s_client. Idea is to feed s_client a file with commands required to STARTTLS, authenticate to the smtp server and the message itself. I have this file: -- ehlo hereami auth login dfbdffdbZWhhcjU= dffdddBoYTI= mail from: rcpt to