Refusing Incoming SMTP Connections

The function refuseconnections returns if incoming SMTP connections should be refused. The current implementation is based exclusively on the current load average and the refuse load average option (option X, global variable RefuseLA):

bool
refuseconnections()
{
return (CurrentLA >= RefuseLA);
}
A more clever implementation could look at more system resources.


[Contents] [Previous] [Next]


Questions or problems regarding this web site should be directed to Steve Gielda.
Copyright 1999 www.cotse.com.  All rights reserved.
Last modified: Friday April 02, 1999.