Hi Claus,

On Fri, Nov 13, 2020 at 06:42:28AM +0100, Claus Assmann wrote:
| On Thu, Nov 12, 2020, Paul de Weerd wrote:
| 
| > $ openssl s_client -starttls smtp -connect localhost:587
| 
| > RCPT TO: <we...@weirdnet.nl>
|   ^ = RENEGOTIATING
| 
| and the syntax is wrong too: NO space after colon, see the fine RFCs.

Ah, good one.  Fortunately, most (all?) MTAs I've come across while
doing manual SMTP (admittedly, this is not my biggest hobby, so not
that many) are lenient enough to allow for the space.  But I'll keep
that in mind.

| openssl(1):
|      When used interactively (which means neither -quiet nor -ign_eof have  
|      been given), the session will be renegotiated if the line begins with an
|      R; if the line begins with a Q or if end of file is reached, the
|      connection will be closed down.

It's actually documented!  Would not have thought to look for this in
the manpage .. thank you for the pointer!

Cheers,

Paul

-- 
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/                 

Reply via email to