procmail
[Top] [All Lists]

Auto-reply, then forward?

1997-03-20 08:30:58
Ii am trying to set my procmail up to auto-reply to a message and 
then forward it to another account.  For example, here is my 
autoreply recipe:

:0 ic
* ^TOfeedback
*!^FROM_DAEMON
*!^X-Loop: feedback(_at_)atlantafest(_dot_)com
|(formail -r -A "Precedence: junk" \
-I"From: Atlanta Fest 97 <feedback(_at_)atlantafest(_dot_)com>" \
-I"Subject: Thanks for the Reverb!" \
-A "X-Loop: feedback(_at_)atlantafest(_dot_)com"; \
cat $FILEDIR/feedback.txt )|$SENDMAIL -t

with my feedback.txt residing in the proper directory all I have to 
do is place the line

feedback(_at_)atlantafest(_dot_)com simple

in my email.fwd file and it sends the autoreply.  What I want next is 
for it to forward the original message to another account.  I tried 
to use the Carbon flag and then set up the forward on the next lines 
but couldn't get it to work.

Any help is greatly appreciated in advance...

theSimpleman

"Only those with no belief
in God have excuse not to dream."

            \\|//
            (- -)
---------oOO-(_)-OOo----------
 www dot atlantafest dot com

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