the alias is actuall [EMAIL PROTECTED], below is just a typo. Sorry. -Micah
On Wednesday 14 May 2003 10:22 am, 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
