home *** CD-ROM | disk | FTP | other *** search
- From: darrylo@hpnmdla.sr.hp.com (Darryl Okahata)
- Date: Tue, 10 Nov 1992 01:06:07 GMT
- Subject: Re: How to redirect my new mail to a file
- Message-ID: <430143@hpnmdla.sr.hp.com>
- Organization: Center for Primal Scream Therapy
- Path: sparky!uunet!sun-barr!cs.utexas.edu!sdd.hp.com!scd.hp.com!hpscdm!hplextra!hpl-opus!hpnmdla!darrylo
- Newsgroups: comp.sys.hp
- References: <BxBFou.L6M@cup.hp.com>
- Lines: 32
-
- In comp.sys.hp, pasq@cup.hp.com (Mark Di Pasquale) writes:
-
- > 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.
-
- Don't bother trying to write mail processing programs like this.
- It's much better to use Elm's filter(1) or Chip Salzenberg's deliver(8)
- program. Elm's filter(1) is the definitely the easier of the two to
- use, but deliver(8) is definitely the most flexible.
-
- Elm's filter(1) program can be obtained as part of the Elm
- source distribution.
-
- Chip Salzenberg's deliver(8) program can be found in any archive of
- comp.sources.reviewed.
-
- -- Darryl Okahata
- Internet: darrylo@sr.hp.com
-
- DISCLAIMER: this message is the author's personal opinion and does not
- constitute the support, opinion or policy of Hewlett-Packard or of the
- little green men that have been following him all day.
-