procmail
[Top] [All Lists]

autorespond and save query?

1997-04-08 21:25:00
I'm trying to use procmail to autorespond with a prepared text file
which is named info.txt in my $HOME/fileserver directory as described in
numerous FAQ's on the web.  The problem is that the original query message
is lost.  I'd like to save all messages sent to info(_at_)rxlist(_dot_)com in a 
mail
file called info.  I can do either but I can't seem to do both.  Can
somebody help?

Here's the rc file:

:0
* ^TOinfo
*!^FROM_DAEMON
*!^X-Loop: info(_at_)rxlist(_dot_)com
|(formail -r -A "Precedence: junk"\
-I"From: Auto Reply from rxlist " \
-I"Subject: Information Request" \
-A "X-Loop: info(_at_)rxlist(_dot_)com";\
cat $FILEDIR/info.txt )|$SENDMAIL -t


Thanks!
                               ===================
                        Neil Sandow, Pharm.D. rx(_at_)rxlist(_dot_)com
                     http://rxlist.com - The Internet Drug Index


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