DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SMM:08-96
Sendmail Installation and Operation Guide
6.3.6. Load Av erage Computation
The routine getla returns the current load average (as a rounded integer). The distribution
includes several possible implementations. If you are porting to a new environment you may
need to add some new tweaks.
25
6.4. Configuration in sendmail/daemon.c
The file sendmail/daemon.c contains a number of routines that are dependent on the local net-
working environment. The version supplied assumes you have BSD style sockets.
In previous releases, we recommended that you modify the routine maphostname if you
wanted to generalize $[ ... $] lookups. We now recommend that you create a new keyed map
instead.
6.5. LDAP
In this section we assume that sendmail has been compiled with support for LDAP.
6.5.1. LDAP Recursion
LDAP Recursion allows you to add types to the search attributes on an LDAP map speci-
fication. The syntax is:
-v ATTRIBUTE[:TYPE[:OBJECTCLASS[|OBJECTCLASS|...]]]
The new TYPEs are:
NORMAL
This attribute type specifies the attribute to add to the results string. This is
the default.
DN
Any matches for this attribute are expected to have a value of a fully qualified
distinguished name. sendmail will lookup that DN and apply the attributes
requested to the returned DN record.
FILTER
Any matches for this attribute are expected to have a value of an LDAP search
filter. sendmail will perform a lookup with the same parameters as the origi-
nal search but replaces the search filter with the one specified here.
URL
Any matches for this attribute are expected to have a value of an LDAP URL.
sendmail will perform a lookup of that URL and use the results from the
attributes named in that URL. Note however that the search is done using the
current LDAP connection, regardless of what is specified as the scheme,
LDAP host, and LDAP port in the LDAP URL.
Any untyped attributes are considered
NORMAL
attributes as described above.
The optional OBJECTCLASS (| separated) list contains the objectClass values for which
that attribute applies. If the list is given, the attribute named will only be used if the LDAP
record being returned is a member of that object class. Note that if these new value attribute
TYPEs are used in an AliasFile option setting, it will need to be double quoted to prevent send-
mail
from misparsing the colons.
Note that LDAP recursion attributes which do not ultimately point to an LDAP record are
not considered an error.
25
If you do, please send updates to sendmail@Sendmail.ORG.