On Thu, 02 May 1996 12:52:06 -0500, areray(_at_)io(_dot_)com (Rocket Ray) wrote:
What I'm trying to do is: for each arriving e-mail that's not from a
mailing list, copy the header to the file .mail_in, then activate a
shell script called "grepper", which greps selected header lines to a
master file, then deletes .mail_in.
Sounds like you could save grief and extra movement by making the
script a filter and execute it like this:
:0chw:
* !^FROM_DAEMON
| $HOME/bin/grepper-is-now-a-pipe >> where-ever
So I've been trying:
:0 hwc:
* !^FROM_DAEMON
| cat >>$HOME/Mail/.mail_in; $HOME/bin/grepper
The cat should probably be "cat - >>somewhere".
procmail: Executing " cat >>/usr/u/a/areray/Mail/.mymail"
^^^^^^^
Did you edit the filename, or quote the wrong line, or am I confused?
:-)
Hope this helps,
/* era */
--
See <http://www.ling.helsinki.fi/~reriksso/> for mantra, disclaimer, etc.