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 > > Otherwise: > > $ telnet host 587 > helo client.example.com > mail from:<xxx> > etc. > > Wietse > >