From: David Fletcher <David@me...> - 2005-06-17 09:01:29
I find the PHPMailer class is useful to get round this problem. It can
connect to an smtp server outside the chroot (which can still be on the
same machine) even on machines were PHP won't do this directly. It has
loads of other features for sending emails and formatting the headers
Also useful was the Nail mail user agent, not in a chroot, but as an
interface between commands expecting sendmail binaries to be present and
my mail server which is actually qmail. It's very lightweight, and
seems to "just work" without causing trouble.
Hope this helps,
>> Hello All
>> I have a server using mod_security with chroot enabled. I have php/mysql
>> working fine.. except for one piece. the mail function. Anyone know how to
>> around this? When this fails.. nothing is written to messages or error_log=
>> Removing chroot option, mail() works again.
Get latest updates about Open Source Projects, Conferences and News.