Hi, I'm trying to pipe my e-mail to a script (It's an Email to SMS gateway). I have a big problem with bouncing messages and I've looked for a solution everywhere. I've been trying to figure out the problem for months and months now, and I won't bother you with everything I've tried allready. I wasn't sure where to go to with this semi-qmail and semi-php/shell question, but some of you guys are more expirienced in those than I will ever be. Important things to know: 1. My script is a PHP shell script, that is piped to the php-cgi binairy. It executes properly when I run it from the command line. I run it like this: # cat ./myscript.php | /usr/bin/php The script run's and generates no (visible) error!! It does what it's supposed to do. At first there was an error on the bottom of each script (even empty ones), but I've fixed that. It made me ask this on PHP forums to people that didn't know enough about qmail. Now I see it's not my PHP-code that fails, so I can ask the qmail professionals ;o) 2. My .qmail file: ./Maildir/ | cat ./testprog2.php | /usr/bin/php -q 3. I've tried using bouncesaying to find the problem or prevent the repetition. The qmail log says: /bouncesaying:_fatal:_child_crashed/ 4. My sysinfo: System: Linux kuolema 2.2.15 #10 Wed Oct 4 19:08:58 CEST 2000 i686 unknown (Debian/GNU) Build Date: Jan 24 2001 PHP: 4.0.3pl1 (I've allready recompiled PHP and so on... but all that didn't help) qmail: where can I find my version no.? Tell me and I'll give it. Where could I find the cause of the fatal error? Or, as a workaround, how can I run the php script via bash (or perl) and clear the error (exit) code before it is passed to qmail. The script executes properly, and all I want to prevent is the bouncing of the messages. Every bounce I get the message in my mailbox again, and the script is executed over and over... Any help is greatly apreciated! Erik de Bruijn
