TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TCLUG:9185] procmail
Correction.
^From:.*(user@x.org|user2@y.org|user3@z.org).*
Tom Veldhouse
veldy@visi.com
----- Original Message -----
From: Thomas T. Veldhouse <veldy@visi.com>
To: <tclug-list@mn-linux.org>
Sent: Friday, October 15, 1999 2:23 PM
Subject: Re: [TCLUG:9185] procmail
> The addresses must look something like this:
>
> *From:.*(user@x.org|user2@y.org|user3@z.org).*
>
> So, you could use a perl script to put it in that format instead of using
> 'cat'.
>
> Tom Veldhouse
> veldy@visi.com
>
> ----- Original Message -----
> From: Luke Francl <fran0382@tc.umn.edu>
> To: <tclug-list@mn-linux.org>
> Sent: Friday, October 15, 1999 1:14 PM
> Subject: Re: [TCLUG:9185] procmail
>
>
> > While we're on the subject of procmail, I've got a question for the
> > experts.
> >
> > I'd like to set up a filter which redirects mail from a list of people
to
> > a folder. Here's what I have now:
> >
> > # Work filter -- $HOME/.procmail/.co-workers contains the names of
> coworkers
> > # to match against.
> >
> > COWORKERS=`cat $HOME/.procmail/.co-workers`
> >
> > :0:
> > * $^From.*${COWORKERS}
> > INBOX.work
> >
> > I thought this would work, but when there is more than one email address
> > in COWORKERS, it doesn't.
> >
> > Does anyone know how I could do this?
> >
> > Thanks,
> >
> > Luke
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
> > For additional commands, e-mail: tclug-list-help@mn-linux.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
> For additional commands, e-mail: tclug-list-help@mn-linux.org
>