I have set up mail and femail and they both works, just not in a chroot. Basically I can do `mail m...@myaddress.com` or `/var/www/bin/femail m...@myaddress.com` and both of then successfully sent an email to myself.
But it doesn't work with Apache in the chroot. I was using a PHP script. femail-chroot is installed by pkg_add -iv femail-chroot. I also tried the following: `chroot -g www -u www / /var/www/bin/femail -t -i m...@myaddress.com` works, but `chroot -g www -u www /var/www/ /bin/femail -t -i m...@myaddress.com` doesn't work, it says: femail: non-recoverable failure in name resolution I run out of ideas now, what needs to be done? -- This e-mail may be confidential. You may not copy, forward or use any part. Note that all disclaimers on the Internet are of zero legal effectiveness however. http://www.goldmark.org/jeff/stupid-disclaimers/