In support of suchneeds, makemap allows this -e switch. With it, keys that
lack a data portion are allowed to populate the database.
Sometimes it is desirable to populate a database withkeys only. For suchdatabases, the
key??™s presence is the only information of interest. Consider the following K configuration
command:
Klocaluser hash -m /etc/mail/localusers
Here, the -m database switch(?§23.3.7 on page 888) tells sendmail to look up the key, but
not to fetch any data.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
374 | Chapter 10: Build and Use Companion Programs
10.5.1.6 -f
Don??™t fold uppercase to lowercase makemap command-line switch
Normally, the key is converted to lowercase before being stored in the database. When the
key entries are case-sensitive, the -f switchcan be used to prevent conversion to lowercase.
When tokens in rule sets are later looked up in the database, you can choose (with the
K command, ?§23.2 on page 882) to leave those tokens as is or convert them to lowercase
before the comparison to keys. This switch and the K command should parallel each other.
10.5.1.7 -l (lowercase L)
List database types supported makemap command-line switch
The -l switchtells makemap to print a list of the database types it supports, and then exit.
Pages:
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675