Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sendmail(1M)

makemap(1M)                                                     makemap(1M)

NAME
     makemap - create database maps for sendmail

SYNOPSIS
     makemap [-Nforv] maptype mapname

DESCRIPTION
     makemap creates the database maps used by the keyed map lookups in
     sendmail(1M). It reads input from standard input and outputs it to the
     mapname specified.

     makemap handles up to three different database formats, selected using
     the maptype parameter. They may be

     dbm     DBM format maps.

     btree   B-Tree format maps.

     hash    Hash format maps.

     In all cases, makemap reads lines from the standard input consisting
     of two words separated by white space. The first is the database key,
     the second is the value. The value may contain "%n" strings to indi-
     cated parameter substitution. Literal percent signs should be doubled
     ("%%"). Blank lines and lines beginning with "#" are ignored.

OPTIONS
     -N   Includes the null byte that terminates strings in the map. This
          must match the -N option in the "K" line in sendmail.cf.

     -f   Normally all uppercase letters in the key are folded to lower-
          case. This option disables that behavior. This is intended to
          mesh with the -f option in the "K" line in sendmail.cf. The value
          is never case folded.

     -o   Appends something to an old file. This allows you to augment an
          existing file.

     -r   Allows existing keys to be replaced. Normally makemap complains
          if you repeat a key, and will not do the insert.

     -v   Verbosely print what it is doing.

SEE ALSO
     sendmail(1M).










Page 1                       Reliant UNIX 5.44                 Printed 4/99

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026