Anyone out there...!?
This would be really helpful for me as well. I have yet to be able to setup a pipe to a php script. I have been to many forums and got the basics but can't get it working, i find it hard to believe no one has done it, surely someone out there has passed an email to a script.
I am using Red Hat Enterprise 3 and heres what I did:
1: Login as root using ssh and cd to the mailnames folder.
/var/qmail/mailnames/mydomain.com/errors
2: Then I created a .qmail file called .qmail-errors in the errors directory.
vi .qmail-errors
3: Then insert the pipe on the first line of the file and save and exit.
| php -q /home/httpd/vhosts/mydomain.com/subdomains/tickets/httpdocs/pipe.php
4: Done, I have created a mail account that can receive email because i can receive it in a mail client, I have made a qmail file which passes the email onto the script and hey presto it should work!
But it doesn't! 
&
Any ideas out there? It is getting very frustrating after 5 days of searching and editing and double checking again and agin and again only to find the email is not getting passed to the script.
Hope someone can lend a hand or some insight at least
