Hi.

2018年11月26日(月) 17:43 Stefan Bauer <cubew...@googlemail.com>:
> # telnet mx0.esb.de 25
> Trying 194.77.230.138...
> Connected to mx0.esb.de.
> Escape character is '^]'.
> 220 ****************
> ehlo test
> 250-mx0.esb.de
> 250-8BITMIME
> 250-SIZE 52428800
> 250 STARTTLS
> starttls
> 220 Go ahead with TLS
>
> But the minus "-" is missing in STARTTLS correct?

that's correct.

see: https://tools.ietf.org/html/rfc5321#section-4.2

> The format for multiline replies requires that every line, except the
> last, begin with the reply code, followed immediately by a hyphen,
> "-" (also known as minus), followed by text.  The last line will
> begin with the reply code, followed immediately by <SP>, optionally
> some text, and <CRLF>.  As noted above, servers SHOULD send the <SP>
> if subsequent text is not sent, but clients MUST be prepared for it
> to be omitted.

-- 
miwarin

Reply via email to