procmail
[Top] [All Lists]

Re: Returned Mail

1995-12-08 02:33:29
Dear all -

Ron Parker asked,

I am trying to figure out how to create a recipe which will do the
following:

  1. save single message received to a unique filename
  2. execute perl script using that file name as parameter
  3. delete the file after execution of perl script

Wouldn't it be more sensible write the perl script as a filter and
just pipe the message to it, i.e.:

| PerlScript.pl

which avoids the need for 1 and 3.

randy

Randy Banks (randy(_at_)sx(_dot_)ac(_dot_)uk)
ESRC Research Centre on Micro-Social Change
University of Essex
Colchester
Essex
United Kingdom
CO4 3SQ

phone: 01206 873067; int: +44 1206 873067
fax:   01206 873151; int: +44 1206 873151


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