#this script sends a fake e-mail
#
#  from the person defined as
#
FROM="[email protected]"
#
#to the person defined as 
#
TO="[email protected]"
#
#the subject of the e-mail will be this
SUBJECT="the stinking subject of e-mail"
#
#the next line contains a CNTL/J by its self
#a CNTL/J is a LINEFEED (not a carrage return) 
#a CNTL/J can also be defined with hex=0A, octal=012 , decimal=10
#the CNTL/J is used by the sendmail program to figure out the
#end of the letter in conjuction with the
#       .LF
LF='
'
#
#echo the letter and pipe it to the sendmail program
#  note: sendmail often lives in a different library
#        besides
#                 /usr/lib/sendmail
#
#you must have 2 blank lines after the subject or it wont work
#
echo "TO: $TO
FROM: $FROM
Subject: $SUBJECT


the body of the letter or fake e-mail goes here
the body of the letter or fake e-mail goes here
the body of the letter or fake e-mail goes here
the body of the letter or fake e-mail goes here
the body of the letter or fake e-mail goes here
.$LF"  | /usr/lib/sendmail -t 
#
#word to the wize while the e-mail will appear to be
#sent by the person in the from line the e-mail can
#be traced back to the orginal sender. so dont send
#out e-mails you would not want traced back to you.
Hosted by www.Geocities.ws

1