On 2/28/2011 9:13 AM, jeffrey j donovan wrote:
If the port requires TLS:
$ openssl s_client -quiet -starttls smtp -connect host:587
helo client.example.com
mail from:<xxx>
etc.

Otherwise:

$ telnet host 587
helo client.example.com
mail from:<xxx>
etc.

        Wietse
thank you all
looks like Im working on TLS clients for the moment.
and it helped to enable 465

okay so after the STARTTLS and I issue an ELHO  then what? what commands are 
available from this point, what is a graceful exit ?

from what I understand is that each side has to decide what to do either "do 
something" or quit.
im reading http://tools.ietf.org/html/rfc3207
tia
-j
I think you missed this part of Noel's post:

"If the connection works enough for "EHLO world" and a response, *use a real mail client for a full test*. Once the connection works, very likely anything else that needs tweaking will show up in the postfix log."

So just cut off the connection most ungraciously with Ctrl-] and quit from the telnet prompt, or just Ctrl-C from the openssl client. Or, graciously exit with a QUIT command (i.e. RFC 2821 4.1.1.10)

-Daniel


Reply via email to