home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / mail / elm / 3419 < prev    next >
Encoding:
Text File  |  1992-11-20  |  1.6 KB  |  48 lines

  1. Newsgroups: comp.mail.elm
  2. Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!swrinde!elroy.jpl.nasa.gov!ames!agate!pasteur!cory.Berkeley.EDU!ggurman
  3. From: ggurman@cory.Berkeley.EDU (Gail Gurman)
  4. Subject: Filter and Vacation
  5. Message-ID: <1992Nov21.021926.15840@pasteur.Berkeley.EDU>
  6. Sender: nntp@pasteur.Berkeley.EDU (NNTP Poster)
  7. Nntp-Posting-Host: cory.berkeley.edu
  8. Organization: University of California, at Berkeley
  9. Distribution: usa
  10. Date: Sat, 21 Nov 1992 02:19:26 GMT
  11. Lines: 35
  12.  
  13. I'm going on vacation this week and I wanted to create a filter that
  14. would save certain messages to a file and, with the rest, save a copy
  15. in my mail spool and run vacation.
  16.  
  17. I tried several different methods of doing this and couldn't get it
  18. to call vacation properly.
  19.  
  20. The Elm Filter System Guide gives the following example for using
  21. vacation as follows:
  22.  
  23.     if (from = "boss") then vacation pat
  24.  
  25. This is what my filter-rules looked like:
  26.  
  27.     to "bof" ? save "bof"
  28.     always execute "/usr/ucb/vacation ggurman"
  29.  
  30. The first line works fine. For the second line I tried: 
  31.  
  32.     always vacation ggurman
  33.     always savecopy "| vacation ggurman"
  34.     always forward "| vacation ggurman"
  35.  
  36. Needless to say, none of them worked. The filter log showed that the
  37. filter had been used (except for "always vacation ggurman" which returned 
  38. an error), but vacation didn't do anything. When I tried the standard,
  39. non-filter, way of using the vacation program, it worked fine.
  40.  
  41. By the time I get an answer on this, it will be too late for this
  42. trip, but can anyone give me an idea as to how to do this in the future?
  43.  
  44. Thanks very much.
  45.  
  46. Gail
  47.  
  48.