procmail
[Top] [All Lists]

Re: .procmailrc

1995-12-06 22:17:09
At 17:36 95-12-06, sysop(_at_)mhs(_dot_)scbbs(_dot_)com wrote:
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

Why use a temporary file?  Just pipe the mail to the perl script's STDIN:
    :0
    | perlScript


--Hal
Hal Wine <hal(_at_)dtor(_dot_)com>     voice: 510/482-0597


<Prev in Thread] Current Thread [Next in Thread>
  • Re: .procmailrc, Hal Wine <=