Полезная информация

sendmail Desktop Reference

sendmail Desktop ReferenceSearch this book
Previous: 3.5 The makemap ProgramChapter 3
Next: 3.7 Classes

3.6 The K Command

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

Kname 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).


Appends values for duplicate keys (see §

-a tag

Appends tag on a successful match (see §


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

-k column

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


Suppresses replacement on match (see §


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


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 §


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


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

-s character

Specifies the space replacement character (see §

-v column

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

-z delimiter

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

Previous: 3.5 The makemap Programsendmail Desktop ReferenceNext: 3.7 Classes
3.5 The makemap Program 3.7 Classes