october, 18, 2002 archives

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.

« thursday, october 17, 2002 saturday, october 19, 2002 »