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

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!sun-barr!cs.utexas.edu!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!sdd.hp.com!scd.hp.com!hpscdm!cupnews0.cup.hp.com!pasq
  3. From: pasq@cup.hp.com (Mark Di Pasquale)
  4. Subject: Re: How to redirect my new mail to a file
  5. Sender: news@cupnews0.cup.hp.com
  6. Message-ID: <BxGpHn.MCt@cup.hp.com>
  7. Date: Mon, 9 Nov 1992 18:46:34 GMT
  8. References: <BxBFou.L6M@cup.hp.com>
  9. Organization: Hewlett-Packard
  10. X-Newsreader: TIN [version 1.1.4 PL6]
  11. Lines: 32
  12.  
  13.  
  14. Mark Di Pasquale (pasq@cup.hp.com) wrote:
  15. : You might try writing a program that redirects stdin to your own private
  16. : mail file.  Then you can call that program in your .forward file:
  17. :
  18. :       "| /users/you/bin/program"
  19. :
  20. : Also, on my machine, I can copy and edit /usr/mail/pasq.  Perhaps one of
  21. : these ideas will help.
  22.  
  23. I was reminded to mention that mail/sendmail/mailx/elm/mh use lock files
  24. before manipulating /usr/mail/user.  Please remember this if you create
  25. a program of some sort because you don't want to chance loosing mail.
  26.  
  27. In a "vacation"-like program that I wrote a while back (called respond),
  28. I keep the .forward file it uses in place while manipulating
  29. /usr/mail/user.  When respond is disabled (and the .forward file is
  30. removed), then I do not recommend manipulating /usr/mail/user unless
  31. your program observes/creates mail locks.
  32.  
  33. Regards,
  34. Mark "disclaimers apply" DiPasquale
  35.  
  36.  _______       ________________________________________________________________
  37.             /     
  38.            /                   Mark DiPasquale c/o Hewlett-Packard
  39.           ____       ___  /    19111 Pruneridge Avenue, MS 44M9
  40.          /     /    /    /     Cupertino, CA  95014
  41.       __/   __/    _____/      Email: pasq@cup.hp.com
  42.                   /            Phone: (1/408) 447-0911  FAX: (1/408) 447-0177
  43.  ___________   __/   __________________________________________________________
  44.  
  45.