> > Try using it as a fastcgi program. Nearly the same speed benefit (skip
> > exec, skip DB connect), but more flexible, and less likely to crash apache.
>
> That was the other option I was considering - either fastcgi, or one of the
Sqwebmail currently has fastcgi support. I use it now on a relatively
large server.
Fastcgi gives me the following advantages:
Separation of the web server from the cgi server. I'm going to do
this soon: web server on one side of a firewall; sqwebmail on the
other side.
Limits server load. I can specify how many connections to serve at
once. This is good for resource planning and limiting the effect
of an attack (the load doesn't go to mars).
Persistent db connections. Sam's authdaemon makes this mostly
irrelevant. (There's still the overhead of connecting to
authdaemon. Authdaemon only does one auth at a time, I think.)
Brian