If it finds one and if the service
hosts is listed, it uses the techniques listed with the service switch to look up its hosts.
When the technique is files, sendmail reads the file named by _PATH_HOSTS to get
its canonical information. Ordinarily, that file is called /etc/hosts. If that file is different
or has been customized on your system, you can redefine the location like this:
APPENDDEF(`confENVDEF??, `-D_PATH_HOSTS=\"/etc/privatehosts\"??)
In general, most other techniques are preferred over the linear parse of a hosts file.
However, this file is useful in determining the canonical name of the local host. Note
that this compile-time macro only sets the default value for the HostsFile option
(?§24.9.56 on page 1037). That option, if set, overrides this default.
/dev/kmem
The sendmail program decides when to refuse connections and when to queue mail
only on the basis of its perception of the machine load average. The process of determining
that average is hugely complex and varies greatly from vendor to vendor. Four
pathnames that can be used in determining the load are _PATH_KMEM, _PATH_
LOADAVG, __PATH_AVENRUN, and _PATH_UNIX. These should need to be
changed only in the rare event that you are porting sendmail to a previously unsupported
platform. Read the file sendmail/conf.c to see the complex way they are
presently used.
Pages:
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262