Re: sendmail -t -i: command not found
| From: | Bruno | Date: | Tue, 06 Nov 2001 10:58:05 +0000 |
| Subject: | Re: sendmail -t -i: command not found | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-73569@lists.php.net to get a copy of this message | ||
"Jon Haworth" <jhaworth@witanjardine.co.uk> wrote in message
news:67DF9B67CEFAD4119E4200D0B720FA3FB5F451@BOOTROS...
>Does whatever user Apache runs as have permission to read this directory
and
>execute sendmail?
>Can you log on as that user and run it from the command line?
Sure, take a look :
c21linux:/var/www# su www-data
c21linux:~$ cd /bin
c21linux:/bin$ sendmail -t -i
exim: SIGINT received - message abandoned
c21linux:/bin$
In my php.ini y have the following :
sendmail_path = '/bin/sendmail -t -i'
And the error I get when I try to execute the mail function is the following
:
sh: /bin/sendmail -t -i: No such file or directory
Thanks a lot!
Bruno
-----Original Message-----
From: Bruno [mailto:burnett@euskal.org]
Sent: 06 November 2001 10:25
To: php-general@lists.php.net
Subject: [PHP] sendmail -t -i: command not found
Hello,
Please help, I still can´t find a sollution to my problem :(.
Yesterday everything was working fine, but today I got to my office and my
PHP couldn't send mails anymore. I get the next message in the apache log :
sh: sendmail -t -i: command not found
I've tried to change the php.ini mail section to point to the exact sendmail
path, but I get the same message.
Does anyone know what this problem is about?
Thank you!
Bruno
**********************************************************************
'The information included in this Email is of a confidential nature and isi
ntended only for the addressee. If you are not the intended addressee,
any disclosure, copying or distribution by you is prohibited and may be
unlawful. Disclosure to any party other than the addressee, whether
inadvertent or otherwise is not intended to waive privilege or
confidentiality'
**********************************************************************