service.switch(1M)service.switch(1M)NAMEservice.switch - indicate lookup sources and fallback mechanism
SYNOPSISDESCRIPTION
is a sendmail(1M)service switch similar to (see nsswitch.conf(4)) that
indicates the lookup source for hostnames and aliases. It consists of
two lines, one for and one for The lookup sources are listed after the
or name.
For one or more of the following can be listed:
For one or more of the following can be listed:
Sample Configurations
1. The default configuration for is to use for hostname lookups and the
file for aliases. (Note that due to a bug, the hostname lookup will
never fallback to a file lookup, so anything listed after will be
ignored.)
2. To work with a non-DNS environment that uses file lookups the fol‐
lowing can be used:
3. To work with a NIS environment that does not use DNS, the following
can be used:
Modifying sendmail.cf
The file must be modified to request the usage of the file. Otherwise,
the default for is to use DNS for hostname lookups, and for alias
lookups. To use NIS or the following line must be uncommented in
SEE ALSOsendmail(1M).
HISTORY
The file appeared in sendmail V8.
service.switch(1M)