procmail
[Top] [All Lists]

help w/procmail recipe

2002-09-09 18:12:19
Here are some examples of headers of messages I'm trying to match against:

  Sender: announcement list <CS5704_91420(_at_)listserv(_dot_)vt(_dot_)edu>
  Sender: announcement list <CS5204_91412(_at_)listserv(_dot_)vt(_dot_)edu>
  Sender: vegroup Discussion List <VEGROUP(_at_)listserv(_dot_)vt(_dot_)edu>

I want to throw all email from *(_at_)listserv(_dot_)vt(_dot_)edu into it's 
appropriate
folder. Here is the recipe I've written:

  :0:
  * ^Sender:.*<\/@listserv.vt.edu[^ >`';]+
  lists/`echo $MATCH | sed -e 's/[\/]/_/g' | tr A-Z a-z`

This has to be close, right? It doesn't seem to work, can anyone offer
me any help on getting this recipe right?

Thanks,

Jon
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>