home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / hp / 12733 < prev    next >
Encoding:
Internet Message Format  |  1992-11-09  |  1.7 KB

  1. From: darrylo@hpnmdla.sr.hp.com (Darryl Okahata)
  2. Date: Tue, 10 Nov 1992 01:06:07 GMT
  3. Subject: Re: How to redirect my new mail to a file
  4. Message-ID: <430143@hpnmdla.sr.hp.com>
  5. Organization: Center for Primal Scream Therapy
  6. Path: sparky!uunet!sun-barr!cs.utexas.edu!sdd.hp.com!scd.hp.com!hpscdm!hplextra!hpl-opus!hpnmdla!darrylo
  7. Newsgroups: comp.sys.hp
  8. References: <BxBFou.L6M@cup.hp.com>
  9. Lines: 32
  10.  
  11. In comp.sys.hp, pasq@cup.hp.com (Mark Di Pasquale) writes:
  12.  
  13. > Mark Di Pasquale (pasq@cup.hp.com) wrote:
  14. > : You might try writing a program that redirects stdin to your own private
  15. > : mail file.  Then you can call that program in your .forward file:
  16. > :
  17. > :       "| /users/you/bin/program"
  18. > :
  19. > : Also, on my machine, I can copy and edit /usr/mail/pasq.  Perhaps one of
  20. > : these ideas will help.
  21. >
  22. > I was reminded to mention that mail/sendmail/mailx/elm/mh use lock files
  23. > before manipulating /usr/mail/user.  Please remember this if you create
  24. > a program of some sort because you don't want to chance loosing mail.
  25.  
  26.      Don't bother trying to write mail processing programs like this.
  27. It's much better to use Elm's filter(1) or Chip Salzenberg's deliver(8)
  28. program.  Elm's filter(1) is the definitely the easier of the two to
  29. use, but deliver(8) is definitely the most flexible.
  30.  
  31.      Elm's filter(1) program can be obtained as part of the Elm
  32. source distribution.
  33.  
  34.      Chip Salzenberg's deliver(8) program can be found in any archive of
  35. comp.sources.reviewed.
  36.  
  37.      -- Darryl Okahata
  38.     Internet: darrylo@sr.hp.com
  39.  
  40. DISCLAIMER: this message is the author's personal opinion and does not
  41. constitute the support, opinion or policy of Hewlett-Packard or of the
  42. little green men that have been following him all day.
  43.