Hi all, hope this is
the right place to ask this. I'm running vpopmail and have a mailbox that routes
to a PHP script. The file is called .qmail-mailbot and looks like
this:
|/usr/home/eric/mailbot.php
Now, this works
fine, and my PHP script gets the incoming email sent to mailbot@ the domain.
HOWEVER... I can't seem to get qmail to stop processing the email after my PHP
script is done with it. I have tried having the PHP script return 0 and 99, and
neither one will let the email "release" ...it is just sent to the PHP script
about a minute later, and it is continually sent.
I am fairly
confident in my PHP script returning the error code but in case that's the
problem, I'm wondering if there's a way to have two scripts in my .qmail-mailbot
file... the first going to my PHP script, the second going to a simple shell
script that just says 'exit 99' to kill the email... something
like:
|/usr/home/eric/mailbot.php
|/usr/home/eric/exit99.shell
Is that allowed? Or
is there another way to do this? Or am I missing something
entirely?
thank
you,
Eric