8.56
on page 643).
In addition to hostnames, you can also add addresses to the $=w class. To do so, just
surround each address with square braces:
LOCAL_DOMAIN(`[123.45.67.8]??) ?†? IPv4 address
LOCAL_DOMAIN(`[IPv6:2002:c0a8:51d2::23f4]??) ?†? IPv6 address
Note in the second example that you must prefix any IPv6 addresses with a literal IPv6:
expression. That prefix signals to sendmail that it is dealing with an IPv6 address.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
878
Chapter 23 CHAPTER 23
The K (Database-Map)
Configuration Command
Database maps can be used to look up information in databases, to perform transformations
(suchas dequoting), to perform computations, and to store values into macros.
In their database role, they offer these advantages:
??? Information can be easily changed without having to restart sendmail because
database information is external to the configuration file.
??? Th esendmail program starts up faster because only the location of the information
is stored at startup, not the information itself.
??? Rules are made more versatile because database information can be used in the
RHS of rules. Class macros are still of use in the LHS.
To fully appreciate sendmail databases, consider the only alternative, the F configuration
command.
Pages:
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549