Hi!

When using amavisd as a before-queue filter or when using it as a
central filter for many MTAs, it might be useful to let Net::Server
dynamically fork additional children if necessary.

I've done a patch (attached) that lets the Amavis-class use
Net::Server::PreFork instead of Net::Server::PreForkSimple as base
class, if the (new) $min_servers configuration variable is set. It also
introduces the three new config-variables $min_servers,
$min_spare_servers, $max_spare_servers. See
http://search.cpan.org/~rhandom/Net-Server-0.95/lib/Net/Server/PreFork.pm#COMMAND_LINE_ARGUMENTS
for details.

I hope you'll find it useful.

Cheers,
--leo
-- 
-----------------------------------------------------------------------
[EMAIL PROTECTED]                Fax: +43-1-31336-906050
Zentrum fuer Informatikdienste - Wirtschaftsuniversitaet Wien - Austria

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to