
#!/bin/sh
#@ Maarten.deBoer@Atos.net, 111207
#= Script to test sending mail using telnet & expect

PGM="`basename $0|cut -d\. -f1`"
HOSTNAME="`hostname`"
MAILHOST="`grep mailhost /etc/hosts | cut -f1`" 
FROM="${USER}@${HOSTNAME}"
TO="maarten.deboer@atos.net"

# Usage test_mail.exp <hostname> <mailhost> <from> <to>
## ./${PGM}.exp ${HOSTNAME} ${MAILHOST} ${FROM} ${TO}

./test_mail.exp nlxfsd02.mssmgt.com mailhost nl19471@nlxfsd02 maarten.deboer@atos.net


exit 0

