procmail
[Top] [All Lists]

Re: scripts

1998-05-04 02:38:13
On Mon, May 04, 1998 at 08:27:51AM +0200, Salvatore Greco wrote:
Hi,

Is it possible to call a script from within procmail.

I have a requirement to strip the header (thanks to those of you that helped
me there :) and then strip the first line of that message and rebuild a new
email and use the second line as the subject. Complicated :)

No problem, use something like 

:0i
|your/script

(add 'c' if you need the original mail)

And btw. rtfm (man procmailex)

Regards,

        Joey


-- 
  / Martin Schulze  *  joey(_at_)infodrom(_dot_)north(_dot_)de  *  26129 
Oldenburg /
 /                                     http://home.pages.de/~joey/
/  Unable to locate coffee, operator halted.  -- Stefan Farsch  /

<Prev in Thread] Current Thread [Next in Thread>
  • scripts, Salvatore Greco
    • Re: scripts, Martin Schulze <=