RE: [PHP] Qmail problem
| From: | Rich Cavanaugh | Date: | Fri, 09 Mar 2001 00:32:52 +0000 |
| Subject: | RE: [PHP] Qmail problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-43096@lists.php.net to get a copy of this message | ||
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:huntsman@www.nisu.flinders.edu.au]
Sent: Thursday, March 08, 2001 7:24 PM
To: pete collins; php-general@lists.php.net
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: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net