On Thu, Mar 14, 2013 at 06:51:54PM +0000, Alexey E. Suslikov wrote: > John Tate <john <at> johntate.org> writes: > > > > > I've been trying to get PHP to be able to email from a chrooted apache > > server. Running without chroot is not an option. I can't find clear > > documentation on doing this, and the logs don't contain any errors I can > > find about the problem. > > you need femail from ports.
More precisely, the femail-chroot package. And you need /usr/libexec/ld.so inside of the /var/www chroot dir. Else, femail won't run inside chroot (on 5.3, not sure if 5.2 requires this).