Then we perform the lookup and add that
result to the workspace.
The third rule looks for a workspace that ends in a literal .FOUND and, if it finds sucha
workspace, logs the result. For a focused address such as gw<@wash.dc.gov>, the result
might be:
gw<@wash.dc.gov> transformed by userdb into george@retired.wash.dc.gov
23.7.27.1 Enable the User Database
The User Database is automatically enabled when you compile sendmail if you include
support for NEWDB or HESIOD (?§3.4.75 on page 150). To see whether a precompiled
version of sendmail includes User Database support, run it with the -d0.1 switch:
% /usr/sbin/sendmail -d0.1 -bt < /dev/null
Version 8.12
Compiled with: LOG MIME8TO7 NETINET NETUNIX NEWDB SCANF USERDB XDEBUG
?†‘
note
If USERDB is listed, User Database support is included.
Next, you must declare the location of the database file with the UserDatabaseSpec option
(?§24.9.128 on page 1116):
OU/etc/mail/userdb ?†? in your cf file (V8)
O UserDatabaseSpec=/etc/mail/userdb ?†? in your cf file (V8.7 and later)
define(`confUSERDB_SPEC??, /etc/mail/userdb) ?†? in your mc file
-S ?§23.3.12 on page 890 Space replacement character.
-T ?§23.3.13 on page 890 Suffix to append on temporary failure.
-t ?§23.3.14 on page 891 Ignore temporary errors.
Table 23-29. The userdb database-map type K command switches (continued)
Switch ?§ Description
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc.
Pages:
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668