Prev | Current Page 668 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

The advantage of using praliases (rather than makemap -u) is that praliases
reads the sendmail configuration file to find the location and type of the aliases database.
As a bonus, praliases prints the contents of all aliases databases. For example,
consider a part of your mc configuration file that looks like this:
define(`ALIAS_FILE??, `hash:/etc/mail/aliases/users,btree:/etc/mail/aliases/clients??)
Here, the /etc/mail/aliases/users.db file will be created by newaliases as a hash-type
database, and the file /etc/mail/aliases/clients.db will be created as a btree-type database.
If you ran praliases on this setup, it would first print all the aliases in the first
file, followed by all the aliases in the second file, correctly detecting the type for each.
The praliases program reads the sendmail.cf file to find the location and types of
aliases files. A command-line switchallows you to point to a different configuration
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
10.6 The praliases Program | 377
file. Another allows you to specify a particular aliases database file. Those switches
are outlined in Table 10-7, and explained in the sections that follow.
The output produced by praliases is different from that produced by makemap -u.
The praliases program lists the key on the left and data for that key on the right, separated
by a colon.


Pages:
656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680
ekonto opinie Tango Olsztyn fenster berlin typy bukmacherskie życzenia