Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uunet!mcsun!hp4nl!dutrun!dutncp8!rob From: rob@dutncp8.tudelft.nl (Rob Kurver) Newsgroups: comp.mail.elm Subject: Re: Trivial (?) Problem with Filter Message-ID: Date: 13 Nov 90 14:52:23 GMT References: <273ED190.56F6@tct.uucp> Sender: news@dutrun.UUCP Lines: 35 Organisation: Delft University of Technology, The Netherlands In <273ED190.56F6@tct.uucp> chip@tct.uucp (Chip Salzenberg) writes: }According to epeterson@encore.com (Eric Peterson): }>I've been playing with filter a bit lately, and I can't seem to get it }>to work right. }I would suggest that users of filter should upgrade to Deliver 2.0 if }filter's quirks are causing them difficulties. What exactly are these quirks? Filter seems to work fine for me. }> What I want to do is save all messages that come to me }>through a mailing list called "gem_team" to a folder called }>"/usrs/sqa/epeterso/Mail/gemini" as well as drop them into my mailbox. }A user delivery file to accomplish this goal might look like: } #!/bin/sh } case "`header -f To $HEADER`" } *gem_team*) echo "Mail/gemini" ;; } esac } echo "$1" A filter rule to accomplish this goal might look like: to contains gem_team ? savecopy }Presto! Cheers. - Rob -- Rob Kurver rob@dutncp8.tudelft.nl Computational Physics Group rob@pact.nl Faculty of Applied Physics, Delft University of Technology Pardon this fortune. Database under reconstruction.