procmail
[Top] [All Lists]

Autoresponder Question

1997-01-19 16:10:33
Greetings:

I have been playing around with procmail to perform as an 
autoresponder.

Here is an entry of the .procmailrc file. This seems to work
great! My question is: Can I modify this rule to not only send
the reply to the requester but also send an e-mail to the owner
of the responder that would let them know who just requested
info from the autoresponder.

Thanks

Keith



PATH=/usr/bin:/usr/sbin:/sbin
MAILDIR=$HOME/Mail
LOGFILE=$MAILDIR/from
FILEDIR=$HOME/responderfiles

:0
* ^TOcompound(_at_)bizopsmall(_dot_)com
*!^FROM_DAEMON
*!^X-Loop: compound(_at_)bizopsmall(_dot_)com
|(formail -r -A "Precedence: junk" \
-I"From: Auto Reply from bizopsmall <compound(_at_)bizopsmall(_dot_)com>" \
-I"Subject: Information Request" \
-A "X-Loop: compound(_at_)bizopsmall(_dot_)com";\
cat $FILEDIR/bizops/compound )|$SENDMAIL -t -fcompound(_at_)bizopsmall(_dot_)com

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