It seems to be a problem with drupal, I wrote my own php script that could send mail without issues. I have no idea how such a problem is possible unless drupal doesn't use php's mail() but I can't find anyone with similar problems.
I didn't notice the log entries because they don't have a timestamp and I thought they were just wrap around when I first posted here. Sorry for wasting everyone's time. On Fri, Mar 15, 2013 at 6:57 AM, Pascal Stumpf <pascal.stu...@cubes.de>wrote: > On Thu, 14 Mar 2013 20:12:52 +0100, Stefan Sperling wrote: > > 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. > > Not any more. -static now implies -nopie when linking. > > > Else, femail won't run inside chroot (on 5.3, not sure if 5.2 requires > this). > -- www.johntate.org