home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.hp
- 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
- From: pasq@cup.hp.com (Mark Di Pasquale)
- Subject: Re: How to redirect my new mail to a file
- Sender: news@cupnews0.cup.hp.com
- Message-ID: <BxGpHn.MCt@cup.hp.com>
- Date: Mon, 9 Nov 1992 18:46:34 GMT
- References: <BxBFou.L6M@cup.hp.com>
- Organization: Hewlett-Packard
- X-Newsreader: TIN [version 1.1.4 PL6]
- Lines: 32
-
-
- Mark Di Pasquale (pasq@cup.hp.com) wrote:
- : You might try writing a program that redirects stdin to your own private
- : mail file. Then you can call that program in your .forward file:
- :
- : "| /users/you/bin/program"
- :
- : Also, on my machine, I can copy and edit /usr/mail/pasq. Perhaps one of
- : these ideas will help.
-
- I was reminded to mention that mail/sendmail/mailx/elm/mh use lock files
- before manipulating /usr/mail/user. Please remember this if you create
- a program of some sort because you don't want to chance loosing mail.
-
- In a "vacation"-like program that I wrote a while back (called respond),
- I keep the .forward file it uses in place while manipulating
- /usr/mail/user. When respond is disabled (and the .forward file is
- removed), then I do not recommend manipulating /usr/mail/user unless
- your program observes/creates mail locks.
-
- Regards,
- Mark "disclaimers apply" DiPasquale
-
- _______ ________________________________________________________________
- /
- / Mark DiPasquale c/o Hewlett-Packard
- ____ ___ / 19111 Pruneridge Avenue, MS 44M9
- / / / / Cupertino, CA 95014
- __/ __/ _____/ Email: pasq@cup.hp.com
- / Phone: (1/408) 447-0911 FAX: (1/408) 447-0177
- ___________ __/ __________________________________________________________
-
-