#! /bin/sh 
#
# This program is run as a mail filter to process mail sent to 
#   "archive-server". It parses the incoming mail and makes work
#    queue entries.

PATH=#PATH#
export PATH

TMPFILEB=#WRKQ#/in.$$
LOGFILE1=#REQQ#/in.log
LOGFILE2=#REQQ#/out.log

cat > $TMPFILEB
echo -n "`date` " >> $LOGFILE1
ngrep '^From: ' $TMPFILEB | sed 1q >> $LOGFILE1
exit 0
