Or you could try this:
sendmail_path = /var/qmail/bin/qmail-inject
Obviously you'll want to put in your correct path to qmail-inject, but that
works fine for me.
--
rich
-----Original Message-----
From: David Robley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 08, 2001 7:24 PM
To: pete collins; [EMAIL PROTECTED]
Subject: Re: [PHP] Qmail problem
On Fri, 9 Mar 2001 03:43, pete collins wrote:
> I keep getting:
> qmail-inject: fatal: read error
>
> I've tried everything.
>
> Sendmail is symlinked to /var/qmail/bin/sendmail wrapper
>
> $ ls -l /usr/lib/sendmail
> lrwxrwxrwx 1 root root 28 Aug 25 2000
> /usr/lib/sendmail -> ../../var/qmail/bin/sendmail
>
> $ ls -l /usr/sbin/sendmail
> lrwxrwxrwx 1 root root 28 Aug 25 2000
> /usr/sbin/sendmail -> ../../var/qmail/bin/sendmail
>
>
> I have tried every permutation for my sendmail_path in php.ini
>
> I tested the php code i'm using from my FreeBSD box which uses sendmail
> and it all works fine.
>
> I can use qmail fine from perl.
>
> Does anyone have any ideas? This is down right silly. ;-)
>
> Thanks
>
> --pete
For me, on Slackware, this works:
~$ ls -l /usr/sbin/sendmail
lrwxrwxrwx 1 root root 23 Aug 28 2000 /usr/sbin/sendmail
-> /var/qmail/bin/sendmail*
~$ ls -l /usr/lib/sendmail
lrwxrwxrwx 1 root root 18 Jul 12 2000 /usr/lib/sendmail
-> /usr/sbin/sendmail*
sendmail_path = /usr/sbin/sendmail -t -i ;for unix only,
may supply arguments as well (default is sendmail -t)
Cheers
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]