Noel Jones: > On 2/27/2011 3:44 PM, Wietse Venema wrote: > > Wietse Venema: > >> jeffrey j donovan: > >>> greetings > >>> how can i test submission to port 587 from command line ? > >>> > >>> I am setting up a relay for my some users to use when they are off site. > >>> Those that have verizon need to use 587 > >>> I want to watch each step through so that i can make sure I have a clean > >>> path. > >> > >> If the port requires TLS: > >> > >> $ openssl s_client -quiet -starttls smtp -connect host:587 > >> helo client.example.com > >> mail from:<xxx> > > > > Caution: s_client uses R and Q for itself, so send lower case commands > > (rcpt to and quit). > > > > Wietse > > I believe "r" and "q" are reserved also. Attempting a full
They are not reserved on my machine. Wietse > mail transaction with s_client will likely lead to frustration > and may lead one to waste time solving problems that don't exist. > > 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. > > > > The key actions are documented in > # man 1 s_server > > > > -- Noel Jones > >