home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / hp / 12780 < prev    next >
Encoding:
Text File  |  1992-11-10  |  2.0 KB  |  48 lines

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!news.tek.com!uw-beaver!uw-coco!nwnexus!amc-gw!pilchuck!fnx!sgihbtn!dkarr
  3. From: dkarr@sierra.com (David Karr)
  4. Subject: Re: How to redirect my new mail to a file
  5. Message-ID: <1992Nov10.165127.4351@sierra.com>
  6. Sender: news@sierra.com
  7. Nntp-Posting-Host: dopey
  8. Organization: Sierra Geophysics,  Kirkland WA
  9. X-Newsreader: Tin 1.1 PL4
  10. References: <Bw8IGz.5LE@cs.bham.ac.uk>
  11. Date: Tue, 10 Nov 1992 16:51:27 GMT
  12. Lines: 34
  13.  
  14. axs@cs.bham.ac.uk (Aaron Sloman) writes:
  15. : I wonder if anyone else has this problem: running HP-UX 8.0 on
  16. : a collection of HP machines linked to a network of Suns, we have
  17. : incoming mail going to /usr/mail/<name>
  18. : My favourite editor (VED, in Poplog) provides a facility for reading
  19. : mail on Unix machines which starts by simply moving the mail file
  20. : to a private directory.
  21. : But on the HP machines I am not allowed to truncate the file in
  22. : the system mail directory, so the file just gets longer and longer.
  23. : If I try using .forward to direct incoming mail to a file in a protected
  24. : directory of my own (of course), I keep getting "cannot create" error
  25. : messages.
  26. : Is there any way of either using "mv" to move the mail file, or
  27. : causing mail to come straight to a private file?
  28.  
  29. Whenever I see someone running into a situation where they have to "filter"
  30. their mail, I recommend a package called "procmail" that you can get from
  31. your favorite source archive.  Your need is for a very primitive level of
  32. filtering (filter everything), but the tool can get this done just as well.
  33. It allows you to specify a set of pairs (regular expression, action) such
  34. that if a new mail message is matched by the regular expression, then the
  35. action will be taken.  This tool would be very useful if you get regular
  36. mail from either a mailing list or some sort of automated mail generation
  37. system, such that you want to store those messages in other than the normal
  38. mail repositories.
  39. --
  40. David M. Karr
  41. Sierra Geophysics, Inc.
  42. ARPA: dkarr@sierra.com, UUNET: uunet!sgihbtn!dkarr
  43. Phone: (206) 822-5200 (x343)
  44.