gnutls-cli does not show response to EHLO, telnet does
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Tue May 29 20:41:36 CEST 2012
On 05/29/2012 02:22 PM, Andreas Metzler wrote:
> Hello,
>
> it seems to be impossible to connect to smtp.jaist.ac.jp 587 with
> gnutls-cli:
>
> -------------------
> ametzler at argenau:~$ gnutls-cli -s --priority=NORMAL:%COMPAT:-VERS-TLS1.1:-VERS-TLS1.2 smtp.jaist.ac.jp -p 587
> Processed 152 CA certificate(s).
> Resolving 'smtp.jaist.ac.jp'...
> Connecting to '150.65.19.12:587'...
>
> - Simple Client Mode:
>
> 220 jaist.ac.jp ESMTP mail service ready
> EHLO openssl.client.net
> [nothing happens]
> -------------------
>
> telnet succeeds. Any idea why?
It looks to me like smtp.jaist.ac.jp expects proper CRLF line endings.
Compare:
socat STDIO TCP4:smtp.jaist.ac.jp:587
socat STDIO TCP4:smtp.jaist.ac.jp:587,crnl
I get a response from the latter, but not from the former.
--dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1030 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20120529/fa11d52c/attachment.pgp>
More information about the Gnutls-devel
mailing list