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
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