Jeremy,

  I got this two or three times, so I don't know if the list
  sent it more than once, or whether you just thought you hadn't
  sent it and decided to send it again.

  In any event, I'm not ignoring your reply, just thinking it
  through.  I'm not using FreeBSD, so I've got to find time to
  look into mailwrapper (if it's even available on RH Linux).
  I'm not at my Linux machine right now...

  Don't worry, I did get it... :)  Thanks.

Bill


-----Original Message-----
From: Jeremy Suo-Anttila [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 06, 2001 2:49 PM
To: Gordon McDowall; Bill Andersen; [EMAIL PROTECTED]
Subject: RE: [OT] qmail & php


I have a machine with apache_mod_ssl+php4+mod_jk and the MTA is qmail and i
have yet to have any problems using php scripts on it. I am using a FreeBSD
4.1.1 Box and for the sendmail mailwrapper i used this

If the system undergoes a 'make world', its going to replace the sendmail
link to /var/qmail/bin/sendmail, qmail and break the package. Dj-vapor
kindly pointed out that linking to the qmail's sendmail binary
at/var/qmail/bin/sendmail is a not the best solution, there's an even more
fun way of doing it. He suggests using mailwrapper to link to qmail's
sendmail binary. First we'll link the old sendmail binary to mailwrapper.
Lastly, we'll edit /etc/mail/mailer.conf and replace the old sendmail binary
locations with qmail's sendmail binary.


# ln -s /usr/sbin/sendmail /usr/sbin/mailwrapper

# pico -w /etc/mail/mailer.conf

Replace the following lines:

       sendmail /usr/libexec/sendmail/sendmail
       send-mail /usr/libexec/sendmail/sendmail
       mailq /usr/libexec/sendmail/sendmail
       newaliases /usr/libexec/sendmail/sendmail

With:

       sendmail /var/qmail/bin/sendmail
       # send-mail /var/qmail/bin/sendmail -bp
       # mailq /var/qmail/bin/sendmail
       # newaliases /var/qmail/bin/newaliases

If you want more information on mailwrapper, then type the line below on
your FreeBSD machine.:

# man mailwrapper

If you don't want to use mailwrapper, then you can simply link the old
sendmail binary to qmail's sendmail binary using one of the methods below

Good Luck

Jps





-----Original Message-----
From: Gordon McDowall [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 06, 2001 10:50 AM
To: Bill Andersen; [EMAIL PROTECTED]
Subject: Re: [OT] qmail & php


I have a machine with php and qmail on it, but I can't remember which I
installed first ;o(
I will put a php form script on if you like to test it

----- Original Message -----
From: "Bill Andersen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 06, 2001 3:28 PM
Subject: [OT] qmail & php


> When I installed qmail, I obviously removed sendmail.  Now
> when I build php(4) and try to use the the mail() function,
> I get "mail() not supported in this PHP build" because
> sendmail was not found during the configure (I assume).
>
> The only reference I could find in the php archives was to
> put "sendmail_path=<path to qmail-inject>", but it didn't
> work.
>
> Has anyone had any luck using php with qmail?
>
> Please reply off-list as I realize this is really a php issue.
> The php mailing list is down per their web site, but I
> figure someone on this list is bound to be running php...
>
>  (Sorry!)
>
> ./bill
>
> BTW: RH7, php4<->apache
>



Reply via email to