Is emailtest.php executable, does it start with #!/usr/bin/php, is $HOME set?

Thomas Tremain wrote:

I have attempted to create a .procmailrc that looks like:

:0
* [EMAIL PROTECTED]
| $HOME/emailtest.php

I have also removed the forwarder from my /etc/valiases file.

Now I get: The following address(es) failed: [EMAIL PROTECTED]

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:[EMAIL PROTECTED]




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
}



-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to