[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Copying Mail
- Subject: Re: [cobalt-users] Copying Mail
- From: "Steve Werby" <steve-lists@xxxxxxxxxxxx>
- Date: Sun Sep 9 13:06:01 2001
- Organization: Befriend Internet Services LLC
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
"Ted Behling" <TBehling@xxxxxxxxxxxxx> wrote:
> At 08:41 AM 9/7/01, Colin J. Raven wrote:
> >Easily achieved with procmail.
> >--snip--
> >#now to business
> >
> >:0
> >* ^To: .*\<user@sitename\.tld>
> > {
> > :0c
> > ! otheruser@xxxxxxxxxxxx
> > }
>
> Isn't this limited to acting on the To: header? What if the recipient's
> address is specified in a Cc: header, or not at all, via BCC? Your
> introduction to Procmail is appreciated, but I feel this problem is more
> reliably handled with the 'aliases' file, as Dom suggested.
Yes, that only processes it if it's the To: header. To match the To or Cc
headers you'd write as:
^(To|Cc)
^TO_ will accomplish the same thing, matching other destination headers as
well. Read a procmail tutorial for more info.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/