Sunnz wrote:
> 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?
> 

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
joe.barn...@mr72.com
http://www.mr72.com/
623.670.1326

Reply via email to