bash script to test smtp relay

2002-10-13 Thread Freddy Chavez
I've read many examples about using a shell script to test a mail server (sendmail, postfix, etc) such as: #!/bin/bash telnet 1.2.3.4 25 << _EOF_ HELO abc.com <- smtp conversation here (mail from, rcpt to, data, etc) _EOF_ When I execute it, I get: 220 xyz.com ESM

Re: bash script to test smtp relay

2002-10-12 Thread jkinz
On Fri, Oct 11, 2002 at 08:05:49PM -0500, Freddy Chavez wrote: > I've read many examples about using a shell script to test a mail server > (sendmail, postfix, etc) such as: > #!/bin/bash > telnet 1.2.3.4 25 << _EOF_ > HELO abc.com > <- smtp conversation here (mail from, r