procmail
[Top] [All Lists]

Re: auto procmail setup script - prepend (fwd)

1997-09-04 09:34:44
On Thu, 4 Sep 1997 11:20:58 -0400, "Nevel, Simeon"
<Simeon(_dot_)Nevel(_at_)Schwab(_dot_)COM> wrote:
You should probably investigate using the output of the which command
to get the path to the executable.

... which is not portable, either. (which is actually usually a csh
script and as such subject to whatever happens in your .cshrc if you
have one. Anyway, the directory structure on the mail processing host
might be very different from what you have on the host where you get
an interactive login. My University actually has Procmail in
/etc/local/bin or something on the mail processing host, and nowhere
near it on the interactive hosts. You can't even log in on the mail
processing host to find out what's available [unless you cheat and run
small shell scripts from your .procmailrc :-])

/* era */

In the immortal words of Larry Wall, writing a portable shell is
easier than writing a portable shell script :-)

-- 
 Paparazzi of the Net: No matter what you do to protect your privacy,
  they'll hunt you down and spam you. <http://www.iki.fi/~era/spam/>

<Prev in Thread] Current Thread [Next in Thread>