Editmap queries or edits one record in database maps used by the keyed map lookups in
sendmail(8).
Arguments are passed on the command line and output (for queries) is
directed to standard output.
Depending on how it is compiled,
editmap handles up to three different database formats,
selected using the
maptype parameter.
They may be
dbm
|
DBM format maps.
This requires the
ndbm(3)
library.
|
btree
|
B-Tree format maps.
This requires the new Berkeley DB
library.
|
hash
|
Hash format maps.
This also requires the Berkeley DB
library.
|
If the
TrustedUser option is set in the sendmail configuration file and
editmap is invoked as root, the generated files will be owned by
the specified
TrustedUser.