procmail
[Top] [All Lists]

Re: embedded perl in procmail

1998-03-06 21:18:50
On Fri, 6 Mar 1998, khwong wrote:
anybody done before how to embedded perl in procmail ?

At that point, why not simply -use- perl for your mail filtering? Read all
headers into an array (or a hash, with array values, which would allow for
multiple headers of the same name), and read the body into a scalar.

Suddenly, you are capable of doing everything procmail does. :-) Mind you,
you're going to suffer a performance penalty that you don't with procmail,
but you'd be suffering it with an embedded perl interpreter anyway. ;-)

-- 
-------------------.  emarshal at logic.net  .---------------------------------
Edward S. Marshall  `-----------------------'   http://www.logic.net/~emarshal/

      Spammers: Please email my blacklisting service at 
"spam(_at_)logic(_dot_)net".

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