So in summary, the following was done:

- Setup sendmail such as the sendmail that came with OpenBSD or use
some other agent like Postfix such that you can do a `dmesg | mail -s
"Sony VAIO 505R laptop, apm works OK" dm...@openbsd.org` on the
command line.

- Install femail-chroot from package, this places a binary called
femail in /var/www/bin/

- Change sendmain_path in php.ini. This defaults to "sendmail -t -i".
Change it to "/bin/femail -t -i"

- cp /bin/ksh /var/www/bin/; cp /bin/sh /var/www/bin/;
"femail itself does not use or need sh. whatever invokes it might need
it.", Henning Brauer.

Reply via email to