Try using '!/usr/local/bin/php -q /home/raincross-tech/testmail.php'. Notice that it is bang instead of pipe. That worked for a script that I was trying to run.
Bret. On Wednesday 14 May 2003 12:22 pm, Micah Stevens wrote: > Hi, > > I'm trying to pipe messages to a PHP script and although I can test the > script on the command line by piping a text file with an email message in > it, and it works fine, it's not getting run by DBMail. > > My alias is: > > '[EMAIL PROTECTED]' -> '| /usr/local/bin/php -q > /home/raincross-tech/testmail.php' > > The log seems to indicate that it's successfully piping, but I get no > results. It may be my script, but like I said, when I run this command: > > cat mail.txt | /usr/local/bin/php -q /home/raincross-tech/testmail.php > > it works great. > > Any ideas? BTW, it's supposed to forward the mail to a list of recipients > in a database table. > > I've attached a snippet of the log if you're interested. > > Thanks! > -Micah -- Bret Baptist Systems and Technical Support Specialist [EMAIL PROTECTED] Internet Exposure, Inc. http://www.iexposure.com (612)676-1946 x17 Web Development-Web Marketing-ISP Services ------------------------------------------ Today is the tomorrow you worried about yesterday.