summaryrefslogtreecommitdiff
path: root/makemap/makemap.8
diff options
context:
space:
mode:
authorGregory Neil Shapiro <gshapiro@FreeBSD.org>2020-07-14 21:40:53 +0000
committerGregory Neil Shapiro <gshapiro@FreeBSD.org>2020-07-14 21:40:53 +0000
commitcee0d44ab388e12fbd62fdb134d295c58901148a (patch)
treefbe464b241337077b941be7126ad3f3f78b19f7f /makemap/makemap.8
parent1c3e417caf2d11608f10043b7e70b6e7ed8711ff (diff)
Diffstat (limited to 'makemap/makemap.8')
-rw-r--r--makemap/makemap.815
1 files changed, 14 insertions, 1 deletions
diff --git a/makemap/makemap.8 b/makemap/makemap.8
index a6bfd21462c4..fa250109b842 100644
--- a/makemap/makemap.8
+++ b/makemap/makemap.8
@@ -46,7 +46,7 @@ and outputs them to the indicated
.PP
Depending on how it is compiled,
.B makemap
-handles up to three different database formats,
+handles different database formats,
selected using the
.I maptype
parameter.
@@ -67,6 +67,14 @@ hash
Hash format maps.
This also requires the Berkeley DB
library.
+.TP
+cdb
+CDB (Constant DataBase) format maps.
+This requires the tinycdb library.
+.TP
+implicit
+The first available format in the following order:
+hash, dbm, and cdb.
.PP
In all cases,
.B makemap
@@ -142,6 +150,8 @@ List supported map types.
.B \-o
Append to an old file.
This allows you to augment an existing file.
+Note: this might not be supported by all database types,
+e.g., cdb.
.TP
.B \-r
Allow replacement of existing keys.
@@ -164,6 +174,9 @@ dump (unmap) the content of the database to standard output.
.TP
.B \-v
Verbosely print what it is doing.
+.P
+.SH Example
+makemap hash /etc/mail/access < /etc/mail/access
.SH SEE ALSO
sendmail(8), newaliases(1)
.SH HISTORY