hello, all! i'm trying to use procmail to do something i formerly did
with pegasus mail, and i was hoping you might be able to help me set
it up.
i run mini mailing lists for different committees i'm on. people send
mail to "[group name] <jeff(_dot_)covey(_at_)pobox(_dot_)com>", and the mail is
automagicaly forwarded to everyone on the committee. i can't seem to
get it working with procmail. here's what i've tried:
first of all, MYXLOOP is defined earlier in my .procmailrc in this way:
==============================
# my address
MYADDRESS=jeff(_dot_)covey(_at_)pobox(_dot_)com
# My X-Loop Header
MYXLOOP="X-Loop: $MYADDRESS"
==============================
i was hoping that i'd be able to get it working in this way (using
"test" as an imaginary group and sending it to two of my own addresses):
:0:
* !^$MYXLOOP
* ^(Cc|To).*test <jeff(_dot_)covey(_at_)pobox(_dot_)com>
{
:0 fhW
| formail -I "$MYXLOOP"
:0 c
! jcovey1(_at_)gl(_dot_)umbc(_dot_)edu
:0 c
! jeff(_dot_)covey(_at_)pobox(_dot_)com
}
but this doesn't do the job. when i send mail to "test
<jeff(_dot_)covey(_at_)pobox(_dot_)com>", my xloop header gets inserted into the
message, but it's never forwarded to the two addresses. and even
though my xloop is in it, it loops like a stunt plane.
any ideas what i'm overlooking? many thanks!
--
_ ___ ___
|_|___ _| _| __ ___ _ _ ___ _ _ http://pobox.com/~jeff.covey/
| | -_| _| _ _| . | | | -_| | |classical guitar
_| |___|_| _| __|___|\_/ ___|_ |midi sequencing
|___| jeff(_dot_)covey(_at_)pobox(_dot_)com ___|music copying
for a list of files available from me, send me mail
with send index as the subject
"Do fish ever get thirsty?"
-- B.G., Albuquerque, NY