1 .\" Copyright (c) 2000-2001, 2003 Sendmail, Inc. and its suppliers.
2 .\" All rights reserved.
4 .\" By using this file, you agree to the terms and conditions set
5 .\" forth in the LICENSE file which can be found at the top level of
6 .\" the sendmail distribution.
9 .\" $Id: editmap.8,v 1.9 2003/02/01 17:07:42 ca Exp $
11 .TH EDITMAP 8 "$Date: 2003/02/01 17:07:42 $"
14 \- query and edit single records in database maps for sendmail
26 queries or edits one record in database maps used by the keyed map lookups in
28 Arguments are passed on the command line and output (for queries) is
29 directed to standard output.
31 Depending on how it is compiled,
33 handles up to three different database formats,
47 This requires the new Berkeley DB
52 This also requires the Berkeley DB
57 option is set in the sendmail configuration file and
59 is invoked as root, the generated files will be owned by
67 configuration file for looking up the TrustedUser option.
70 Include the null byte that terminates strings
71 in the map (for alias maps).
74 Normally all upper case letters in the key
75 are folded to lower case.
76 This flag disables that behaviour.
77 This is intended to mesh with the
81 The value is never case folded.
84 Query the map for the specified key. If found, print value to standard
85 output and exit with 0. If not found then print an error
86 message to stdout and exit with EX_UNAVAILABLE.
93 or inserts a new record if one doesn't exist. Exits with 0 on success
94 or EX_IOERR on failure.
97 Deletes the specific key from the map. Exits with 0 on success or
106 command has no history.