(
echo "mail from: foo@bar.net"
sleep 1
echo "rcpt to: bar@foo.net"
sleep 1
echo "data"
sleep 1
echo "this is a test "
echo "./n/$"
) | telnet localhost 25 >> Log 2>&1
*****************************
now I have captured standard out and error but it would be nice to have standard in included in the log file. I could append it but it would look out of order
thanx,
bill