RE: [PHP] Pipe an email to PHP

From: Date: Wed, 27 Aug 2003 07:04:29 +0000
Subject: RE: [PHP] Pipe an email to PHP
Groups: php.general 
Request: Send a blank email to php-general+get-160873@lists.php.net to get a copy of this message
I have attempted to create a .procmailrc that looks like: :0 * ^TO_emailtest@mydomain.net | $HOME/emailtest.php I have also removed the forwarder from my /etc/valiases file. Now I get: The following address(es) failed: emailtest@mydomain.net Can I be sure Procmail is even handling my email? I thought Exim and MailScanner took care of that. -----Original Message----- From: Greg Donald [mailto:destiney@destiney.com] > This always gives me an error saying it cannot foraward. > > If I pipe it to "|/usr/bin/php > /home/account/public_html/mailtools/emailscript.php" > it tells me: "No input file specified." I use something like that in my .procmailrc: :0 fw | /usr/bin/spamassassin :0 * ^X-Spam-Status: Yes { :0 c | $HOME/.spamassassin/spamcop.php :0 spam } -- Greg Donald http://destiney.com/

« previous php.general (#160873) next »