Path: utzoo!attcan!uunet!wuarchive!hsdndev!husc6!encore!houligan!epeterso From: epeterso@houligan.encore.com (Eric Peterson) Newsgroups: comp.mail.elm Subject: Re: filter help Message-ID: Date: 6 Feb 91 13:29:10 GMT References: <4629@cocoa7.UUCP> Sender: news@Encore.COM Reply-To: epeterson@encore.com (Eric Peterson) Organization: Encore Computer Corporation, Diagnostic Development Lines: 30 Nntp-Posting-Host: houligan.encore.com News-Software: NN 6.4.12 protofan@motcid.UUCP (Mike S. Protofanousis) writes: | Is there any way of setting up a filter rule to save this message | in a folder of name $subject_string. | | Example: | From John Smith | Subject xxxx -----> gets saved to ~/Mail/xxxx | | From John Smith | Subject yyyy -----> gets saved to ~/Mail/yyyy Sure! Here's a rule that will do it ... if (from "John Smith") then save /Mail/%s Where "" is the absolute path of your home directory. There's a whole set of "%" macros available in Filter for using in generating a folder name. Check out the Filter guide for a complete list of these macros. If you want to do more complicated parsing of the Subject or other headers, though, you'll need a more powerful filter like Deliver 2.0. 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.