[comp.mail.elm] filtering on cc: field

merithew@portia.Stanford.EDU (Robert Merithew) (10/11/90)

Elm was just installed on our system (v. 2.3, PL0) and i've
discovered, much to my dismay, that I can't filter based on the cc:
field.  I need to filter stuff to: and cc: a mailing list i'm on, and
I'm not averse to mutilating the headers of the messages concerned on
the way in.

is there a hack to allow such filtering?  how about using | in
.forward to run messages through a script that replaces lines
beginning with 'cc:' and containing a regular expression with lines
beginning with 'To:' (perhaps at the beginning of the message)?


I don't know enough awk/sed to write the script, tho.  anyone?  Or has
this problem been solved already?

tips/ptrs really appreciated.

thanks,
  -Robert Merithew
   AIR Consulting
   Stanford University