home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.mail.elm
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!nucsrl!ddsw1!dattier
- From: dattier@ddsw1.mcs.com (David W. Tamkin)
- Subject: Re: A couple of questions about filter
- Message-ID: <1992Jul30.171422.26868@ddsw1.mcs.com>
- Organization: Contributor Account at ddsw1, Chicago, Illinois 60657
- References: <1992Jul29.135745.3238@julian.uwo.ca>
- Date: Thu, 30 Jul 1992 17:14:22 GMT
- X-Disclaimer: Material posted in this article is the sole responsibility of
- the poster and does not represent MCSNet or the system owners.
- Lines: 29
-
- baycroft@zoi.lib.uwo.ca (Mike Baycroft) wrote in
- <1992Jul29.135745.3238@julian.uwo.ca>:
-
- | 1) ... is there any way of specifying multiple actions for a single
- | set of conditions? For example:
- |
- | if <condition> then <action1> <action2> . . .
-
- Not directly; you can execute an program or script that will perform both
- action1 and action2 with its stdin, but you cannot ask filter to do both
- itself.
-
- | 2) is there any way of changing the subject line of the messages
- | generated by filter?
-
- I'm not sure what you mean. The only messages "generated" by filter are the
- notes in .elm/filterlog and, if one uses the -o option, those in the errors
- file. The latter have no subject lines, and I don't understand why one would
- want the former to have subject lines different from those of the letters
- being logged.
-
- If you meant that you want to change the subject line of a letter being
- processed by filter, then, as with #1, the easiest way is to have filter
- execute something that changes the subject line and then puts the letter
- wherever you want it, or, if you can be sure to avoid loops, feeds it back
- to filter to be tested in its new condition.
-
- David W. Tamkin Box 59297 Northtown Station, Illinois 60659-0297
- dattier@ddsw1.mcs.com CompuServe: 73720,1570 MCI Mail: 426-1818
-