Re: [PHP-INSTALL] php + sendmail

[email protected] (Étienne Buira)
Newsgroups php.install
Message-ID <[email protected]>
 On 08/20/10 15:06, Illó Gábor wrote:
> Hello

Hi

> I have php-fpm in my freebsd jail. php-fpm chrooted to
> /usr/local/www/. I install mini-sendmail and linked
> /usr/local/bin/mini_sendmail to /usr/local/www/ and i put
> php_admin_value[sendmail_path] = /sendmail -t -i in to php-fpm.conf

Don't know about freebsd jails, I'll assume it looks like Linux's one.

> php mail() return false
>
> Log is empty. strace not work in amd64
>
> php-fpm.conf:
>
> error_log = /var/log/php-fpm.log
> log_level = debug
> chroot = /usr/local/www/
> php_admin_value[sendmail_path] = /sendmail -t -i
>
> hosting# file /usr/local/bin/mini_sendmail
> /usr/local/bin/mini_sendmail: ELF 64-bit LSB executable, x86-64,
> version 1 (FreeBSD), statically linked, for FreeBSD 8.0 (800505),
> stripped
>
> hosting# file /usr/local/www/sendmail
> /usr/local/www/sendmail: symbolic link to `/usr/local/bin/mini_sendmail'

If it is a symbolic link, think where should it end up when accessed
from inside the jail...
Your options I see are to use a hard link if your MTA is contained in a
limited set of files, or to install your MTA directly under the
/usr/local/www hierarchy.

> any idea?
>
> Thanks
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.