Prev | Current Page 667 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

The database must exist and be readable for it to be dumped. If you attempt to
dump a database for which you lack read access, you will get this message:
% makemap -u hash /etc/mail/privatedata
makemap: error opening type hash map /etc/mail/privatedata: Permission denied
You also must specify a type for the map that matches the type specified when it was made.
If you mismatch, you will get an error such as this:
% makemap -u btree /etc/mail/access
makemap: error creating type btree map access: Invalid argument
If all goes well, the contents of the database will be printed to your standard output. Each
datum will be separated from its key by a single tab character. Note that the order in which
they print will not necessarily match the order in which they appeared in the original
source text file.
10.5.1.14 -v
Watch keys and data being added makemap command-line switch
To watchyour keys and data being added to a database, use the -v switch. This switch
causes the following line of output to be produced for each key processed:
key=`key??, val=`data??
Note that the trailing zero added by the -N switchis not displayed withth e -v output. Also
note that verbose output is printed to the standard output, whereas error messages are
printed to the standard error.
d
10.6 The praliases Program
The praliases program allows you to view the contents of the aliases database after it
is built.


Pages:
655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679
dieta light fenomenalne mieszkania do wynajęcia warszawa katalog stron Connie Talbot holz fenster