a little help for people hitting the same problem that stumped me for the last hour or so: if you are trying to send mail using php's mail() function, but it is not working and qmail-inject: fatal: read error in your apache httpd error log, you need to edit /etc/profile.d/qmail-run.sh and remove (or comment out) the references to QMAILMFTFILE, log out and back in again (or just unset that environment variable), and stop and restart apache. (this comes via the qmail-run rpm when installing qmail using the rpms on redhat.)

what a dumb setting to make part of the default environment.

« october 17, 2002 10:15pm october 19, 2002 4:45pm »