AW: php3 and qmail

2000-02-01 Thread Andreas Altenburg

i changes the line in the php3.ini-dist to /var/qmail/bin/sendmail

In spite of this, the mail is not send. In the http-error-log there is a
line /usr/sbin/sendmail -no such directory or file. But i do not find the
line in my php3.ini-dist file. Where can it be???



Re: AW: php3 and qmail

2000-02-01 Thread Patrick Berry

on 2/1/00 12:27 PM, Andreas Altenburg had the thought:

 i changes the line in the php3.ini-dist to /var/qmail/bin/sendmail
 
 In spite of this, the mail is not send. In the http-error-log there is a
 line /usr/sbin/sendmail -no such directory or file. But i do not find the
 line in my php3.ini-dist file. Where can it be???
 
 

From Life with Qmail http://web.infoave.net/~dsill/lwq.html

kill PID-of-sendmail
mv /usr/lib/sendmail /usr/lib/sendmail.old # may not be needed
mv /usr/sbin/sendmail /usr/sbin/sendmail.old # may not be needed
chmod 0 /usr/lib/sendmail.old /usr/sbin/sendmail.old
ln -s /var/qmail/bin/sendmail /usr/lib
ln -s /var/qmail/bin/sendmail /usr/sbin

This will make sure that qmail will handle you mail.

Pat

-- 
Freestyle Interactive | http://www.freestyleinteractive.com | 415.778.0610



RE: AW: php3 and qmail

2000-02-01 Thread RaTao von J


you should ask this in the php3 mailling-list ;)

anyway the correct file name is: php.ini

and you can override it's default location with a ./configure option
./configure --help to list the options!

don't forget to restart apache after making changes to the php.ini file

also:

?php phpinfo(); ?

in a file by itself will give info about php options (call it with you browser,
afterwards)

bye bye,
ratao


On 01-Feb-2000 Andreas Altenburg wrote:
 i changes the line in the php3.ini-dist to /var/qmail/bin/sendmail
 
 In spite of this, the mail is not send. In the http-error-log there is a
 line /usr/sbin/sendmail -no such directory or file. But i do not find the
 line in my php3.ini-dist file. Where can it be???

--
E-Mail: RaTao von J [EMAIL PROTECTED]
Date: 01-Feb-2000
Time: 21:46:32

This message was sent by XFMail
--



AW: AW: php3 and qmail

2000-02-01 Thread Andreas Altenburg

phpinfo() showed me /var/qmail/bin/sendmail as sendmail path. In spite of
this mail is not delivered. The host is allowed as well. Sendmail is killed
totally, other mails are sent. Where is my mistake. Perhaps it is a quetsion
of php...



Re: AW: AW: php3 and qmail

2000-02-01 Thread Paul Farber

what is the log file recording? 

Paul Farber
Farber Technology
[EMAIL PROTECTED]
Ph  570-628-5303
Fax 570-628-5545

On Tue, 1 Feb 2000, Andreas Altenburg wrote:

 phpinfo() showed me /var/qmail/bin/sendmail as sendmail path. In spite of
 this mail is not delivered. The host is allowed as well. Sendmail is killed
 totally, other mails are sent. Where is my mistake. Perhaps it is a quetsion
 of php...
 
 



AW: AW: AW: php3 and qmail

2000-02-01 Thread Andreas Altenburg

the http_access file shows "GET index.php 200 ..." Nothing unusual. The
http_error show nothing...



Re: AW: AW: php3 and qmail

2000-02-01 Thread Mark Delany

On Tue, Feb 01, 2000 at 11:23:33PM +0100, Andreas Altenburg wrote:
 the http_access file shows "GET index.php 200 ..." Nothing unusual. The
 http_error show nothing...

It sounds like you need to do a *LOT* more homework before hitting the
list with non-information like this.

If you administer a system then you'll know how important it is to
state all relevant information exactly. Paraphrasing a log file is *NOT*
stating any information exactly. Do you get frustrated when people
using your computer systems come to you with little more than "it doesn't
work!". Well, that's about what you've done here.

You should be attempting to debug this yourself. What efforts have
you made to do this? Have you put any tracing or logging information into
the php script?  If you have done so, what did you discover?

Have you tried to run the script outside of the web server? What did it show?

If you're on an OS that has a system call trace facility, what does that show?

Did you try making a wrapper for index.php to check the parameters and return
status of the real index.php? If so, what do those parameters look like?

Did you try making a wrapper around the relevant qmail program to see if it's
getting invoked and with what arguments? If so, did you invoke it manually with
the same parameters to see what happens?

If you haven't done any of this, what efforts do you expect people on this list
to make on your behalf? Apart from training in clairvoyancy that is?


Regards.



Re: AW: AW: AW: php3 and qmail

2000-02-01 Thread Paul Farber

What does the qmail file look like?  The message file?  Do you have the
http server set to record at debug level?  Most are preconfigured to use
warn.

Paul Farber
Farber Technology
[EMAIL PROTECTED]
Ph  570-628-5303
Fax 570-628-5545

On Tue, 1 Feb 2000, Andreas Altenburg wrote:

 the http_access file shows "GET index.php 200 ..." Nothing unusual. The
 http_error show nothing...