home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!sdd.hp.com!elroy.jpl.nasa.gov!ames!lll-winken!iggy.GW.Vitalink.COM!widener!eff!ckd
- From: ckd@eff.org (Christopher Davis)
- Newsgroups: comp.unix.questions
- Subject: Re: .forward
- Message-ID: <CKD.92Jul22145356@loiosh.eff.org>
- Date: 22 Jul 92 18:56:08 GMT
- References: <31485@adm.brl.mil>
- Sender: usenet@eff.org (NNTP News Poster)
- Organization: Electronic Frontier Foundation Tech Central
- Lines: 27
- In-Reply-To: ntucs73@csman.csie.ntu.edu.tw's message of 22 Jul 92 01:54:12 GMT
- Nntp-Posting-Host: loiosh.eff.org
-
- CSIE> == CSIE 73 student <ntucs73@csman.csie.ntu.edu.tw>
-
- CSIE> Is there anyone able to tell me the correct format about
- CSIE> ".forward" file ? I write a line in my local .forward as
- CSIE> following :
-
- CSIE> "| cat >> tmp "
-
- CSIE> But I found nothing happened. IS something wrong with it ?
-
- Well, besides the fact that "cat" does no locking whatsoever, there's
- also the problem that you seem to be assuming that the mailer is
- defaulting to your home directory when running your .forward.
-
- It's not (as many csh-scripters learn to their dismay when they get
- errors like "getwd: can't stat ."). It's often /usr/spool/mqueue, which
- you probably can't even cd to, let alone write in.
-
- You have the syntax right, however. You might want to look into
- something like deliver, procmail, or elm's filter as a program to put in
- your .forward--these are all designed to be called in .forward, and have
- documentation & stuff :)
- --
- Christopher Davis * ckd@eff.org * System Administrator, EFF * +1 617 864 0665
- ``The First Amendment is often inconvenient. But that is besides the
- point. Inconvenience does not absolve the government of its obligation
- to tolerate speech.'' --Justice Anthony Kennedy, in 91-155
-