On Sat, 9 Dec 1995, Michael C Tiernan wrote:
Didn't someone have a nifty HOME/.procmailrc that they were
offering to everyone? It did all sorts of responses and things.
I used to have a copy but in the system move it seems to have
gone away. :<
Is this what you are looking for? ....
Date: Thu, 30 Nov 1995 20:22:10 -0800 (PST)
From: Eric Hilding <eric(_at_)hilding(_dot_)com>
Cc: procmail(_at_)Informatik(_dot_)RWTH-Aachen(_dot_)DE
Subject: Re: AOK but need to include original (SOLVED)
Thanks to all...here's the final version which tests aok...
maybe this will help others:
# -------------------------------------------------------------
# AUTOBOTMANIA (Not quite "BEATLEMANIA", but close :-)
# ------------
# This recipe returns the sender's original message *below* the
# autobot form letter message (autobot.txt), appends the sender's
# e-mail address to the (autobot.log) file, and finally files a
# copy of the sender's original message in folder (Aautobot.IN).
# Special thanks to Stephen, David, Hal, Soren & others for help.
:0 hc
* !^FROM_DAEMON
* !^X-Loop: eric(_at_)garlic(_dot_)com
* ^TOautobot(_at_)hilding(_dot_)com
{
:0 fh
| formail -r -A"Precedence: junk" \
-I"From: Autobot Test <autobot(_at_)hilding(_dot_)com>" \
-I"Subject: Test of an Autobot" \
-A"X-Loop: eric(_at_)garlic(_dot_)com" ; cat $HOME/procmail/autobot.txt
:0
| $SENDMAIL -oi -t
}
:0 c:
* ^TOautobot(_at_)hilding(_dot_)com
| formail -rtzxTo: >> $HOME/procmail/autobot.log
:0 a:
Aautobot.IN
-----------
Regards,
Eric Hilding
eric(_at_)hilding(_dot_)com
et.al.