PHP-FPM chroot mail issues

Posted by tubaguy50035 on Server Fault See other posts from Server Fault or by tubaguy50035
Published on 2012-09-25T15:09:00Z Indexed on 2012/09/25 15:39 UTC
Read the original article Hit count: 362

Filed under:
|
|
|

I'm trying to chroot a site using PHP-FPM. I've been following this post and have done mount --bind for all of those files and folders. When I try to send mail using mail(), it returns false. PHP does have access to usr/sbin/sendmail (which is what my sendmail path is set to in the php.ini), along with the other files mentioned in that post, within the chroot.

Anybody have any clues as to what files I'm missing or how to debug further?

© Server Fault or respective owner

Related posts about php5

Related posts about php-fpm