Re: [PHP] apache chroot + mail()

From: Tom Rogers (trogers_at_kwikin.com)
Date: 12/24/03


Date: Wed, 24 Dec 2003 11:12:19 +1000
To: Ruben Vanhoutte <ruben.vanhoutte@x-tremewebhosting.net>

Hi,

Wednesday, December 24, 2003, 3:02:33 AM, you wrote:
RV> Hi,

RV> I am having a problem using the mail() command inside a chrooted
RV> apache/php installation on linux with qmail.
RV> Nothing apears in the logs, nothing in apache error logs , neither in
RV> php error logs..
RV> And.. no mail gets send.. Nothing to see in my mailer daemon logs neither..

RV> Exempt from php.ini:
RV> =======================
RV> [mail function]
RV> SMTP = 127.0.0.1
RV> =======================

RV> Can anyone help pls ?

RV> Tnx

RV> --

RV> Ruben Vanhoutte

RV> Systems Admin
RV> X-Treme Webhosting
RV> Zakske 10
RV> 8000 Brugge
RV> Belgium
RV> Fortis 001-3688345-93
RV> Btw: BE 518.853.394
RV> HR: 95181

RV> http://www.x-tremewebhosting.net

RV> ****************************************************************************************
RV> The information contained in this message or any of its attachments may
RV> be confidential and is intended for the exclusive use of the
RV> addressee(s). Any disclosure, reproduction, distribution or other
RV> dissemination or use of this communication is strictly prohibited
RV> without the express permission of the sender. Visibility email is for
RV> business use only.
RV> *****************************************************************************************

RV> -- Quote Of The Day --
RV> Self Test for Paranoia: You know you have it when you can't think of
RV> anything that's your own fault.
RV> -- Quote Of The Day --

from inside a chroot jail you will never get mail to work, try using one of the
many classes that are around to do SMTP mailing.

-- 
regards,
Tom


Relevant Pages

  • Re: postfix and syslogd
    ... >> has an idea why in first case cleanup process logs in syslogd ... you need /etc/localtime in your chroot. ... original message are missing the data from the qmgr process, ... provides message size and other useful data. ...
    (freebsd-isp)
  • Re: DNS: Can public and private data be hosted by the same server?
    ... Perhaps the logs are supposed to be ... have a look inside the chroot environment ... Don't send private replies to my address, the mailbox is ignored. ... read messages from the public lists. ...
    (Fedora)
  • apache chroot + mail()
    ... apache/php installation on linux with qmail. ... Nothing apears in the logs, nothing in apache error logs, neither in ... php error logs.. ... -- Quote Of The Day -- ...
    (php.general)