edit to change the email addy
The script works fine until the data prompt returns. I have tried . ./n ./n/r and /0xd just hangs at the data stage. Manually works fine any ideas would be appreciated
*********************************************************************
while read line
do
${OPENSSL} s_client -quiet -connect ${HOST}:${PORT} >> ${TMP} 2>&1 << EOF
mail from: bill.oxley@foo.bar
rcpt to: $line@foo.bar
data
this is testing the datastream/n
"."
quit
EOF
done <$LIST