host
Internal table to store lookup hostnames V8.1 and later
The host
database-map type is a special internal database
used by sendmail to help
resolve hostnames. It is fully described under the
$[
and $]
operators in $[ and $]: A Special Case on page 895.
Only a few database-map switches are available with
the host
type,
and they are listed in Table 23-15.
Table 23-15. The host database-map type K command switches
Switch |
§ |
Description |
---|---|---|
|
-a on page 887 |
Append tag on successful match. |
|
The res_search()
| |
|
-D on page 887 |
Don’t use this database map if |
|
-m on page 888 |
Suppress replacement on match. |
|
Timeout.resolver (V8.10 and later) on page 1108 |
The res_search()
|
|
-S on page 890 |
Space replacement character. |
|
-T on page 890 |
Suffix to append on temporary failure. |
|
-t on page 891 |
Ignore temporary errors. |
The -D
database
switch should probably always be used with this type
on sites that have dial-on-demand connections to the
Internet. It prevents host
lookups when the DeliveryMode
option
(DeliveryMode on page 1004) is
set to defer
.
Get sendmail, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.