Den tors 12 nov. 2020 kl 22:15 skrev Paul de Weerd <we...@weirdnet.nl>:

> While trying to debug my smtpd setup, I got the error "called a
> function you should not call" from openssl s_client:
>
> $ openssl s_client -starttls smtp -connect localhost:587
> <snip cert data>
> EHLO <redacted>
>


> RCPT TO: <we...@weirdnet.nl>
> RENEGOTIATING
>



> Is this something openssl s_client doesn't support?  I notice that
> "RENEGOTIATING" only comes after sending the RCPT TO: command to the
> server.  Futzing around with other commands before sending RCPT TO:
> didn't get to RENEGOTIATING.  Am I doing something wrong?  Should I be
> using some other tool?
>

I think anything starting with capital R in that case (s_client) gets
parsed as RENEGOTIATING.
As for why openssl complains about it is unknown to me, but that gotcha is
old at least.

from 2012:
https://serverfault.com/questions/336617/postfix-tls-over-smtp-rcpt-to-prompts-renegotiation-then-554-5-5-1-error-no-v

-- 
May the most significant bit of your life be positive.

Reply via email to