Re: Qmail problem

From: Date: Fri, 09 Mar 2001 19:21:07 +0000
Subject: Re: Qmail problem
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-43192@lists.php.net to get a copy of this message
I am running this shell script from php using passthru. #!/bin/sh printf "Starting Shell script: <br><br>\n"; printf "command ls -l /var/qmail/bin/qmail-inject<br>\n"; ls -l /var/qmail/bin/qmail-inject; printf "<br><br>*******************<br>\n"; printf "Subject: TESTING FROM SHELL SCRIPT" | /var/qmail/bin/sendmail petejc@mozdev.org; printf "<br>*******************<br>\n"; printf "<br>Finished running shell script . . . \n\n\n"; exit; My php output is this: Starting Shell script: command ls -l /var/qmail/bin/qmail-inject -rwxr-xr-x 1 root qmail 34748 Aug 25 2000 /var/qmail/bin/qmail-inject ******************* ******************* Finished running shell script . . . No mail. If i su to httpd and run the script, mail works. Shoot me now please. ;-) --pete

« previous php.general (#43192) next »