Bernd Wurst wrote:
> But finally, I have a gola about what's wrong: Apache ran out of file 
> handles. 
> I think the error came as forking for sendmail worked and further forking of 
> authdaemon (I did not get too deep into that) would fail for local mail.
>   

What's a gola?

> This problem (running out of file handles) causes tons of errors in 
> fundamentally different parts of the web server environment, it's 
> unbelievable.
>   

Not so.  I totally believe it.

> I temporarily diabled some log files and now everything works again. So I 
> know 
> where to dig into.
>   

Just how many log files do you have open?

>> You could also remove "sendmail_path" from php.ini, which would force
>> php applications to use SMTP instead of the command line sendmail, which
>> gets you logs and avoids a host of issues (like SELinux).
>>     
>
> I tried that but it did not work, php found the sendmail binary somewhere 
> without configuration. But I think now it's time to look for other things.
>   

Well, then, you might need to use a script that will send to SMTP:

http://edoceo.com/creo/perl-sendmail

Install that somewhere, and configure php.ini's "sendmail_path" to point 
to it.

> Thank your for some ideas, Gordon!
>   

Don't mention it.  I'm interested in this myself, because SELinux can 
cause similar problems.  httpd won't transition to another context when 
it executes Courier's sendmail; using SMTP rather than sendmail is the 
best way to get around that.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to