Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!apple!voder!nsc!amdahl!pacbell!pbhyf!rob From: rob@PacBell.COM (Rob Bernardo) Newsgroups: comp.mail.elm Subject: Re: New Save Feature Request Message-ID: <5284@pbhyf.PacBell.COM> Date: 13 May 89 17:22:26 GMT References: <1144@itivax.iti.org> <610@cjsa.WA.COM> Reply-To: rob@PacBell.COM (Rob Bernardo) Organization: Pacific * Bell, San Ramon, CA Lines: 37 In article <610@cjsa.WA.COM> jeff@cjsa.WA.COM (Jeffery Small) writes: +> I'd like an elm feature that would, for some pattern I explicitly select, +> make the name of save folder be changed to something else. + +This is a good idea and something I have also often wished for. One way to +implement this might be to add another field to the alias file which would +allow the user to specify the folder name for saving incoming & outbound mail +from/to a particular user. this would resolve the problem of storing mail +from a number of similar login IDs that you communicate with and would allow +fine-grained control allowing you to save multiple IDs to the same file. (Some +strategy would have to be defined to resolve the folder to use when an ID +appears individually and also in one or more "groups". I see two problems here. You'd have to key off the return address and match it against an address in your alias file. (1) The return address an the address in your alias file can refer to the same person but not be the same. If you go by logname alone you can run into problems since lognames are not unique. (2) Even if you were able to match a return address with an address in your alias file, you may have the same person listed under multiple aliases (esp. group aliases). I.e. there wouldn't necessarily be a one-to-one association. +This of course, would require that the alias file be processed upon startup of +ELM rather than upon the posting of the first outbound message. +... does parsing the file require a +significant chunk of time and would it present an unacceptable load during +startup? No. My alias file has about 200 entries. It may take a second or two. -- Rob Bernardo, Pacific Bell UNIX/C Reusable Code Library Email: ...![backbone]!pacbell!pbhyf!rob OR rob@pbhyf.PacBell.COM Office: (415) 823-2417 Room 4E850O San Ramon Valley Administrative Center Residence: (415) 827-4301 R Bar JB, Concord, California