The K Command switches

The switches must follow the type and precede the file_or_map:

Kname type switches file_or_map

If any switches follow file_or_map, they will be silently ignored.[3] All switches begin with a - character and are listed in Table 23-3. Note that some database-map types utilize only a small subset of all switches (e.g., dequote uses only -a, -D, -s, and -S, and sequence doesn’t use any).

Table 23-3. K command switches

Switch

§

Description

-1

See this section

Consider successful only if exactly one key is matched (ldap only)

-A

-A

Append values for duplicate keys

-a

-a

Append tag on successful match

-b

See this section

Base from which to begin the search (ldap only)

-b

See this section

Use basic, not extended, regular expression matching (regex only)

-D

-D

Don’t use this database map if DeliveryMode=defer

-d

See this section

DN to bind to server as (ldap only)

-d

See this section

The delimiting string (regex only)

-d

See this section

The res_search( ) _res.retry interval (dns and host only)

-f

-f

Preserve case

-h

See this section

Hosts that serve this network database (ldap only)

-h

See this section

Hosts that serve this network database (ph only)

-k

-k

Specify column for key

-k

See this section

The search query (ldap only)

-k

netinfo

The property that is searched (netinfo only)

-k

See this section

Specify a list of fields to query (ph only)

-L

syslog

The logging level at which to log (syslog only)

-l

Get Sendmail, 3rd 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.