Sunnz wrote: > I have set up mail and femail and they both works, just not in a chroot. > > Basically I can do `mail [email protected]` or `/var/www/bin/femail > [email protected]` 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 [email protected]` works, > but > > `chroot -g www -u www /var/www/ /bin/femail -t -i [email protected]` > doesn't work, it says: > > femail: non-recoverable failure in name resolution > > I run out of ideas now, what needs to be done? >
Many moons ago I had the same situation with mini-sendmail-chroot. Installing mail (?) and sh in the chroot seemed to clear everything up--though I am not sure if that is the optimal solution. -- Joe Barnett [email protected] http://www.mr72.com/ 623.670.1326

