One drawback of using the -p commandline
switch is that it both prints and zeros the statistics.
Beginning withV8.12 sendmail, it is possible to print in program-friendly form (as with -p)
but not zero the statistics. This is done with the -P command-line switch. This switch is
identical in all respects to the -p, but it does not zero the statistics.
10.5 The makemap Program
The makemap program is supplied in source form withV8 sendmail. It can also be
supplied in precompiled form by your vendor.* It is used to create database files and
is run from the command line like this:
% makemap switches dbtype outfile < infile
We??™ll discuss the switches in the next section. The dbtype can be dbm (which uses
the ndbm(3) library routines), hash, or btree (both of which use the db(3) library routines).
The outfile is the location and name (full path or relative name) for the database
file that will be created. For dbm files, the .pag and .dir suffixes are added
automatically. For the db files, the .db suffix will be added automatically if it is not
already included in the name.
The infile is the name of the input text file from which the database will be created.
The makemap program reads from its standard input, hence the < character. That
input is line-oriented, withone database entry per line. Lines that begin witha # are
interpreted as comments and ignored.
Pages:
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669