[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnutls-cli does not show response to EHLO, telnet does
From: |
Daniel Kahn Gillmor |
Subject: |
Re: gnutls-cli does not show response to EHLO, telnet does |
Date: |
Tue, 29 May 2012 14:41:36 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:10.0.4) Gecko/20120510 Icedove/10.0.4 |
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:
>
> -------------------
> address@hidden:~$ 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
signature.asc
Description: OpenPGP digital signature