procmail
[Top] [All Lists]

Re: help w/procmail recipe

2002-09-09 19:34:10
On 2002-09-09 20:40:02, Jon Bernard wrote:
  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`

You missed the mailbox part between the '<' and '@'.


/Allan
-- 
Allan Wind
P.O. Box 2022
Woburn, MA 01888-0022
USA

Attachment: pgpdHySnuR7p2.pgp
Description: PGP signature

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