-----BEGIN PGP SIGNED MESSAGE-----
On Fri, 9 May 1997, T.J. Arnesen wrote:
Any Ideas?
This is my ".procmailcr" file
u meant .procmailrc, rite? rc stands for run command...
VERBOSE=off
SENDMAIL=/usr/lib/sendmail
MAILDIR=$HOME/mail
PMDIR=$HOME/.procmail
LOGFILE=$PMDIR/log
FILEDIR=$HOME/fileserver
:0
* ^TO.*name
'^TO' is a _already_defined_ regexp in procmail, so you only need:
* ^TOname
! address1(_at_)xxx(_dot_)com
:0
* ^TO.*collector
same here...
! address2(_at_)xxx(_dot_)com
:0
* ^TOinfo
*!^FROM_DAEMON
*!^X-Loop: info(_at_)mydomain(_dot_)com
|(formail -r -A "Precedence: junk"\
-I"From: Auto Reply from mycompany <info(_at_)xxxx(_dot_)com> " \
-I"Subject: Received email thank you" \
-A "X-Loop: info(_at_)mydomain(_dot_)com";\
cat $FILEDIR/info.txt )|$SENDMAIL -t
whatever, this is ugly...
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBM3PrB56qvWJYgw1hAQHMCgP/SDkTf6OkBB/DlQNKXh2DlXAhsQfvt47/
XCNbtFEyVsdyjSAQIolaDczOhmnvfQQxyp2cw0uMosH5EGxceWI7AcPO48NLHeHi
B7JK3ut0YbGkrKRujFonN+YBXZPqYIRl2lLWP8YdOxtQOjI3io45L9atrgvsXmU4
MaDMxsj+gaw=
=t16t
-----END PGP SIGNATURE-----
--
Andrew Y Ng <ayn(_at_)CMU(_dot_)EDU> | Carnegie Mellon University
http://andrew.Ngbert.org | ECE major // 4-yr BS/MS
campus ph: 412/862-2836 | voice mail: 412/268-6700 Box 30027
| talk: finger ayn(_at_)andrew(_dot_)Ngbert(_dot_)org
* NGBERT.ORG! * | for online status
http://www.Ngbert.org | finger ayn(_at_)CMU(_dot_)EDU for more info...
--------------------------X-------------------------------------
NetBSD NeXT FreeBSD Linux Be Solaris !windoze
Mustgo, n.:
Any item of food that has been sitting in the refrigerator so
long it has become a science project.
-- Sniglets, "Rich Hall & Friends"