procmail
[Top] [All Lists]

sending message to a perl program

1999-10-28 08:00:49
Sorry for asking an obvious "newbie" question, but I am trying to pass an
incoming mail message to a perl program where it can be processed through
MHonarc, a mailing list archiving program. I need to examine the contents
of the message in order to send it to the proper directory, which is
date-oriented.

The recipe looks like this:

:0 f
* ^To:(_dot_)*mylist(_at_)lists(_dot_)panix(_dot_)com
|test.pl

The perl program gets initiated, but I don't have access to the actual
message. Is something like this necessary?

:0 f
* ^To:(_dot_)*mylist(_at_)lists(_dot_)panix(_dot_)com
|cat >filea | test.pl <filea



I

Louis Proyect

(The Marxism mailing list: http://www.panix.com/~lnp3/marxism.html)

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