Home  |  Linux  | Mysql  | PHP  | XML
From:Étienne Buira Date:Fri Aug 20 18:59:19 2010
Subject:Re: php + sendmail
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
>

Navigate in group php.install at sever news.php.net
Previous Next


Your recent visits
Re: RE: [PHP-WIN] PHP Debugger for Windows?
Re: [PHP-WIN] MySQL Configuration on Windows Box with Apache and PHP
Re: [PHP-WIN] memory
MYSQL Configuration on WIn XP
RE: RE: [PHP-WIN] PHP Debugger for Windows?



  
© No Copyright
You are free to use Anything, but please consult your advocate before doing so as this website
also list content from other sources which may be copyrighted.
Site Maintained by Zareef Ahmed
Powered By PHP Consultants