Entry
How do I set up PHP so the mail() function works with qmail?
Why won't the mail() function work with qmail?
mail()
Jan 25th, 2000 17:33
Joyce Park, Nathan Wallace, kaiser M, Sheamus Nulty
Try making qmail's "sendmail" wrapper available to MUAs and leave your
php3.ini as it was for sendmail. Here are sample unix commands:
# ln -s /var/qmail/bin/sendmail /usr/lib/sendmail
# ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail
The whole sendmail wrapper thing seems pretty pointless to me. I
configured php.ini to inject directly into the qmail
bloodstream: /var/qmail/bin/qmail-inject. Works for me.