Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!ucsd!ucbvax!husc6!encore!houligan!epeterso From: epeterso@houligan.encore.com (Eric Peterson) Newsgroups: comp.mail.elm Subject: Re: Trivial (?) Problem with Filter Message-ID: Date: 14 Nov 90 13:27:40 GMT References: <273ED190.56F6@tct.uucp> Sender: news@Encore.COM Reply-To: epeterson@encore.com (Eric Peterson) Organization: Encore Computer Corporation, Diagnostic Development Lines: 44 News-Software: NN 6.4.12 rob@dutncp8.tudelft.nl (Rob Kurver) writes: | 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. Deliver would be overkill -- I've found the problem. | }> 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 filter rule to accomplish this goal might look like: | | to contains gem_team ? savecopy Chip deleted the part where I included my ~/.elm/filter-rules file which contains a statement equivalent to that above. Luckily, though, I've found out what's going on ... Here's my filter rule: to contains "gem_team" ? savecopy "/usrs/sqa/epeterso/Mail/gemini" Here's the result of `filter -r`: Rule 1: if (to = "gem team") then Copy and Save /usrs/sqa/epeterso/Mail/gemini Looks like "gem_team" is getting mapped to "gem team", which is *not* what I want! Looks like it's time to hack the filter code ... unless there is some way to pass an underscore to filter without it being mapped into a space (and, no, backslash quoting it didn't help). Eric -- Eric Peterson <> epeterson@encore.com <> uunet!encore!epeterson Encore Computer Corp. * Ft. Lauderdale, Florida * (305) 587-2900 x 5208 Why did Constantinople get the works? Gung'f abobql'f ohfvarff ohg gur Ghexf.