start page | rating of books | rating of authors | reviews | copyrights

sendmail Desktop Reference

sendmail Desktop ReferenceSearch this book
Previous: 3.5 The makemap Program Chapter 3
Databases
Next: 3.7 Classes
 

3.6 The K Command

The K command is used to declare a database support in the configuration file:

K

name class switches database

The name is the symbolic name used in rule sets with the $( and $) operators. The class is described in the next section. The switches are described immediately below. The database is either the name of an external database (possibly created with makemap ), or that of a flat text file (see §33.3).

-A

Appends values for duplicate keys (see §33.3.4.1).

-a tag

Appends tag on a successful match (see §33.3.4.2).

-f

Prevents folding of keys to lowercase prior to the lookup (see §33.3.4.3).

-k column

Specifies the column for the key in flat text or some network files (see §33.3.4.4).

-m

Suppresses replacement on match (see §33.3.4.5).

-N

Appends a null byte to the key before the lookup (see §33.3.4.6).

-O

Causes sendmail to not add a null byte to the key before the lookup. Note that with neither -O nor -N , sendmail determines adaptively whether or not it should add a null byte (see §33.3.4.7).

-o

Specifies that the existence of the database file is optional (see §33.3.4.8).

-q

Prevents quotes from being stripped from the key before the lookup (see §33.3.4.9).

-s character

Specifies the space replacement character (see §33.3.4.10).

-v column

Specifies the value's column for flat or some network files (see §33.3.4.11).

-z delimiter

Specifies the column delimiter for flat or some network files (see §33.3.4.12).


Previous: 3.5 The makemap Program sendmail Desktop Reference Next: 3.7 Classes
3.5 The makemap Program   3.7 Classes