Use the new maintenance command, editmap, to query and edit single records in keyed database maps for sendmail. From the command line, use the following syntax.
editmap options maptype mapname key "value" |
options are preceded by a dash (for example, -Nf). The man page provides a list of options and explains how each option functions.
maptype refers to the type of database. editmap can use btree, dbm, and hash.
mapname refers to the full path or relative name for the database file.
key refers to a single string or multitoken string that you can use for searches.
“value” refers to the string that appears to the right of the key in a keyed database file. In the following example, man is the key and man@example.com is the assigned value for that key.
man man@host.com |
For a detailed description and a list of options, refer to the editmap(1M) man page.