home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


Previous Section Next Section

netinfo

NeXT, Darwin, & Mac OS X NetInfo V8.7 and above

NetInfo is NeXT's implementation of a network-based information service. It has also been adopted by the Darwin and Mac OS X operating systems. The netinfo type expects a database-map declaration to be of the following form:

Kname netinfo  database-map  

The database-map name defaults to /aliases.

The netinfo type uses only a handful of database switches, as shown in Table 23-18.

Table 23-18. The netinfo database-map type K command switches

Switch

§

Description

-a

-a

Append tag on successful match

-D

-D

Don't use this database map if DeliveryMode=defer

-k

-k

Specify column for key or key name

-m

-m

Suppress replacement on match

-q

-q

Don't strip quotes from key

-S

-S

Space replacement character

-T

-T

Suffix to append on temporary failure

-t

-t

Ignore temporary errors

-v

-v

Specify the value's column

-z

-z

Specify the column delimiter

The -v property returns defaults to members. The -z column delimiter defaults to a comma.

Support of netinfo database maps is available only if you declare NETINFO when compiling sendmail (NETINFO).

    Previous Section Next Section