home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / mail / elm / 1983 < prev    next >
Encoding:
Internet Message Format  |  1992-07-24  |  1.7 KB

  1. Path: sparky!uunet!ki.com!dwatts
  2. From: dwatts@ki.com (Dan Watts)
  3. Newsgroups: comp.mail.elm
  4. Subject: Re: Enhancement request for ELM filter command
  5. Keywords: filter
  6. Message-ID: <1215@ki.com>
  7. Date: 24 Jul 92 13:21:02 GMT
  8. References: <1214@ki.com> <14nsc6INNbh7@betty.cs.widener.edu>
  9. Organization: ki Research, Inc
  10. Lines: 31
  11.  
  12. In article <14nsc6INNbh7@betty.cs.widener.edu> brendan@cs.widener.edu (Brendan Kehoe) writes:
  13. |dwatts@ki.com wrote:
  14. |>An enhancement to filter I would like to  see would be to filter on both
  15. |>forms of from lines as well as reply-to.  Something like:
  16. |>
  17. |>  if ( from: contains "userx" ) then save somefile1
  18. |>  if ( from contains "usery" ) then save somefile2
  19. |>  if ( reply-to contains "userz" ) then save somefile3
  20. |>  if ( fromany contains "userq" ) then save somefile4
  21. |
  22. |Relying on From_ is dangerous, I think.  Any number of mailer aberrations
  23. |could mangle `From ' into a nasty twisted figment of its former self.
  24. |Are there no To:, Apprently-To:, or other headers upon which you could rely?
  25. |
  26. |(I second Reply-To:, as well as Cc:.)
  27.  
  28.  
  29. Alas no, there is nothing in the email other than this line to identify that
  30. it came from the mailing list echoer.  I think I'll ask if they could add
  31. an X-xxxxxx header with the mailing list name to the email that gets echoed
  32. by the mailing list. Then all I need is filter support to check for
  33. arbritrary X-xxx headers :-)
  34.  
  35. Hmm... I'll probably go hack something up while I await the next version
  36. of ELM.
  37.  
  38. -- 
  39. ##################### Naturism, Grin and Bare It ######################
  40. # CompuServe: >INTERNET:uunet.UU.NET!ki.com!dwatts  Dan Watts         #
  41. # UUCP      : ...!uunet!ki.com!dwatts               ki Research, Inc. #
  42. ############ Vote for the Bill of Rights: Vote Libertarian ############
  43.