home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / mail / elm / 2181 < prev    next >
Encoding:
Text File  |  1992-08-20  |  2.1 KB  |  49 lines

  1. Newsgroups: comp.mail.elm
  2. Path: sparky!uunet!gatech!rpi!newsserver.pixel.kodak.com!laidbak!tellab5!vpnet!serveme!gagme!dattier
  3. From: dattier@gagme.chi.il.us (David W. Tamkin)
  4. Subject: Re: how can i use vacation and filter at the same time (maybe FAQ)
  5. Message-ID: <1992Aug20.151102.24527@gagme.chi.il.us>
  6. Originator: dattier@gagme
  7. Keywords: filter, vacation, faq
  8. Lines: 34
  9. Sender: usenet@serveme.chi.il.us
  10. Organization: Gagme Public Access Seraglio, Chicago, Illinois  60656-1252
  11. References: <1992Aug14.132411.29239@murdoch.acc.Virginia.EDU> <1992Aug18.212238.5206@dartvax.dartmouth.edu>
  12. Distribution: na
  13. Date: Thu, 20 Aug 1992 15:11:02 GMT
  14.  
  15. steve@coos.dartmouth.edu (Steve Campbell) wrote in
  16. <1992Aug18.212238.5206@dartvax.dartmouth.edu>:
  17.  
  18. | my2x@fermi.clas.Virginia.EDU (Munho Yi) writes:
  19.  
  20. | >i wonder whether i can use filter and vacation at the same time.
  21. | >it would be hard since they both using .forward file.
  22.  
  23. | always execute "tee -a /usr/spool/mail/yourname | /usr/ucb/vacation yourname"
  24.  
  25. That may be safe if you're on the Internet and you rarely get two letters at
  26. the same time, but it is poison on UUCP sites, where mail arrives in batches.
  27. tee does no file locking and text will mix in your mailbox.
  28.  
  29. Steve Simmons's suggestion to change .forward to
  30.  
  31. "|/path/to/filter -[v]o /path/to/errorfile","|/path/to/vacation yourname"
  32.  
  33. sounds much better.
  34.  
  35. | This setup has the advantage that vacation messages get sent only to the
  36. | people whose mail normally goes into your real mailbox and not to the others -
  37. | often mailing lists - whose mail you divert into special mailboxes.
  38.  
  39. Aren't there ways within vacation to take care of that?
  40.  
  41. Alternatively, your last filter rule could be to execute something that saves
  42. the letter to a temporary file, feeds that file as stdin to vacation, mails
  43. it to real-yourname or \yourname, and deletes the temporary file.  That
  44. prevents filed letters from hitting vacation without the risk of text mixing
  45. in your incoming mailbox.
  46.  
  47. David W. Tamkin   Box 59297   Northtown Station, Illinois  60659-0297
  48. dattier@gagme.chi.il.us   CompuServe: 73720,1570   MCI Mail: 426-1818
  49.