I tried following the tutorial at: http://www.phpshare.org/articles/Piping-Incoming-Mail-with-PHP.html to pipe incoming mail to a PHP script for a virtual host with Exim. I can't seem to get it working. Any ideas?
Here's my exim.conf setup:
I have created the directory:
/etc/exim/vhosts
And created a file: ysend.com in it, with:
catch-all: |php -q /home/ysend/public_html/handler.php
I also tried:
*: |php -q /home/ysend/public_html/handler.php
As well as:
catch-all: my.email.address@site.com
and
*: my.email.address@site.com