procmail
[Top] [All Lists]

passing mail to script

2001-01-29 10:26:07
Hello all,

I have looked through the archives and the FAQs and I have not quite found
what I am looking for, maybe I am blind!  ;)

I would like to pass the contents of an email to a perl script that I have
written.  My script works.  I can take a file that contains an email message
and do:

cat junk.mail | attn.pl

How can I get procmail to do this??

I have tried

| cat | attn.pl

&

| cat - | attn.pl

Neither of these methods seem to work.  Any ideas??  Thanks!!!

Jeremy
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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