EDITMAP(8) | Maintenance Commands and Procedures | EDITMAP(8) |
editmap - query and edit single records in database maps for sendmail
editmap -C file [-N] [-f] [-q | -u | -x] maptype mapname key
["value"]...
The editmap command queries or edits one record in a 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. See OPERANDS.
If the TrustedUser option is set in the sendmail configuration file and editmap is invoked as root, the generated files are owned by the specified TrustedUser.
The following options are supported:
-C file
-f
-N
-q
-u
-x
The following operands are supported:
key
Each record is of the form:
key value
key and value are separated by white space.
mapname
maptype
dbm
btree
hash
value
Each record is of the form:
key value
key and value are separated by white space.
January 21, 2019 | OmniOS |