procmail
[Top] [All Lists]

Problems With Procmail Autoreply

1996-08-14 22:25:32
I'm having problems just with an autoreply feature of procmail.  I have been
able to get other things to work like sorting into different message
folders, but not this autoreply.  Here are my scripts.

#here's my .forward file:
"|IFS=' ' && exec /usr/local/bin/procmail -f- || exit 75 #wbutler"

#here's my .procmailrc file:
VERBOSE=off
SENDMAIL=/usr/lib/sendmail
MAILDIR=$HOME/mail
PMDIR=$HOME/.procmail
LOGFILE=$PMDIR/log
FILEDIR=$HOME/fileserver
 
#the autoreply script that won't work :( any help would be appreciated
:0 ic
* ^TOwbutler
*!^FROM_DAEMON
*!^X-Loop:wbutler(_at_)cs(_dot_)ucr(_dot_)edu
|(formail -r -a "Precedence: junk"\
-I"From: Auto Reply from cs.ucr.edu<wbutler(_at_)cs(_dot_)ucr(_dot_)edu> " \
-I"Subject: Received email thank you" \
-A "X-Loop: wbutler(_at_)cs(_dot_)ucr(_dot_)edu";\
cat $FILEDIR/info.txt ) |$SENDMAIL -t


<Prev in Thread] Current Thread [Next in Thread>