Hi,
Im trying to send an email from my PHP code running within a chrooted apache2 server on Ubuntu 10.10. I copied the /usr/share/php/* into the chroot and the script runs through without any error.
PHP finds the includes (Mail.php, Mail/mime.php), PHP finds the mime-class and appears to send the mail.PEAR::IsError() is not reporting an error.
However the (separate) mail-server is not even recognising that someone tried to send an email (no trace in any mail-server or syslog logfile).
apache-/PHP-/syslog logfiles do not show an error.
There is a local postfix installed as well, but not running (manually stopped).
I believe that PEAR-mail is using native PHP to send the email, and is therefore not requiring anything else in the chroot, right?
Same script on another server (where apache is not in jail) is working fine.
Any idea?