Re: [exim] exim4 is blocking port 80

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Jonathan Briggs
Ημερομηνία:  
Προς: Graeme Fowler
Υ/ο: exim-users
Αντικείμενο: Re: [exim] exim4 is blocking port 80

On Wed, 2008-01-02 at 20:30 +0000, Graeme Fowler wrote:
> On Wed, 2008-01-02 at 18:06 +0000, Peter Bowyer wrote:
> > So this sounds like the Apache / mod_php bug referred to in the Debian
> > bug that Marc H posted earlier in the thread....
>
> Ah, it's all come back to me now.
>
> Don't run PHP via mod_php. If you want security, isolation and some
> semblance of control, use suEXEC and run PHP as a CGI script, or better
> (for PHP at the very least, and because of its' enhanced configurability
> when compared to suEXEC) use suPHP instead.
>
> This is, of course, if you have the system resources to do so - mod_php
> trades off the good things above against all but immediate code
> compilation & execution through not having to fork()/exec() the
> interpreter for every call.
>
> Still, none of this is Exim related. And neither, to be honest, is the
> OP's problem - it's an Apache/mod_php problem. I do wonder, however, why
> we don't see similar reports with PHP and sendmail/postfix/qmail et
> al...


If it is a problem with inheriting file descriptors, it'd be easy to fix
in Exim by closing all descriptors from 0 to NR_OPEN during program
start.

This could be what other mail programs are doing and why you do not see
problems from them.
--
Jonathan Briggs <jbriggs@???>
eSoft, Inc.