home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ki.com!dwatts
- From: dwatts@ki.com (Dan Watts)
- Newsgroups: comp.mail.elm
- Subject: Enhancement request for ELM filter command
- Keywords: filter
- Message-ID: <1214@ki.com>
- Date: 23 Jul 92 23:58:39 GMT
- Organization: ki Research, Inc. Derry NH
- Lines: 25
-
-
- Recently I had the need to make an elm filter filer and ran into some
- problems getting it to do what I wanted. A user of mine receives email
- from a mailing list. The received email has a "From xxx" line that has
- the mailing list relay name it it. The "From: xxx" line is the actual
- mail originator. What I wanted to do was have all mail from the mailing
- list saved into a file. Unfortuntely, I couldn't do this since we have
- elm configured to use the "From:" and "Reply-to:" lines. I ended up
- building a special version of filter [filter_from] that uses the "From "
- header line instead of the "From: " header line.
-
- An enhancement to filter I would like to see would be to filter on both
- forms of from lines as well as reply-to. Something like:
-
- if ( from: contains "userx" ) then save somefile1
- if ( from contains "usery" ) then save somefile2
- if ( reply-to contains "userz" ) then save somefile3
- if ( fromany contains "userq" ) then save somefile4
-
- fromany would check "From: ", "From ", and "Reply-to: " headers.
- --
- ##################### Naturism, Grin and Bare It ######################
- # CompuServe: >INTERNET:uunet.UU.NET!ki.com!dwatts Dan Watts #
- # UUCP : ...!uunet!ki.com!dwatts ki Research, Inc. #
- ############ Vote for the Bill of Rights: Vote Libertarian ############
-