I've been trying further to get ssmtp working with apache/php in a chrooted
envrionment and have had some success on Linux, so I'm sharing it with
everyone else. I've also come to understand quite well how the mail()
function is implemented in php too, and actually it's quite simple.
All
Just an addennum to my previous post 10 minutes ago:
For ssmtp to work with apache/php in a chrooted environment, some kind of
shell needs to be present in the /bin directory. This seems to be a
limitation of PHP rather than some kind of deficiency with ssmtp. This in
itself is a kind of
Hi Markus,
Markus Mayer wrote:
[MTA in chroot()'d env]
Yes, I'm afraid it requires an MTA.
Maybe it's a risk, but unsing PHP (or general non-static webpages)
generally is a potential security risk #
Dan Bernstein, the author of qmail will pay you 1000$ if you exploit
qmail. The offer stands
Hello all!
I have a frustrating problem with PHP and am hoping someone on the list might
know a solution.
I need to set up an apache server with php on Linux and AIX machines, and it
all has to be in a chrooted environment. Most things work very well except
for the mail() function. It
Hi Markus,
do I get you right, you can't invoke mail() because php can't find the
sendmail executable?
perhaps this does the trick:
function my_mail_inject($mail)
{
$sendmail = ini_get(sendmail_path);
if(!$sendmail) $sendmail = /var/qmail/bin/qmail-inject;
$p = popen($sendmail, w);
if($p)
{
Hi Stephan,
On Monday 16 August 2004 15:16, Stephan Fiedler wrote:
do I get you right, you can't invoke mail() because php can't find the
sendmail executable?
Indeed you get me right. As I said in my post, alternatives such as qmail,
exim, postfix and similar full featured MTA's in the
6 matches
Mail list logo