It creates both to support NIS compatibility.
Although you can declare and use this type in a configuration file, there is no reason to do
so. It is of use only to the internals of sendmail. If implicit fails to open an aliases file,
probably because of a faulty AliasFile option (?§24.9.1 on page 970), sendmail will issue
the following error if it is running in verbose mode:
WARNING: cannot open alias database bad filename
If the source aliases file exists but no database form exists, sendmail will read that source
file into its internal symbol table using the stab type (?§23.7.23 on page 938).
You can experiment withth is implicit database-map type using a mini configuration file
such as this:
V10
Kxlate implicit -a.Yes -o /etc/mail/aliases
Stest
R$* $: $(xlate $1 $)
Here, we declare a database map named xlate to be of type implicit. We use it to look up
aliases in the file /etc/mail/aliases (which can optionally not exist because of the -o switch).
We don??™t care whether that file is a db file, a dbm file, or a text file. The implicit type will
find the right type and use it. A successful match will append a .Yes suffix to the returned
value.
The -d38.20 command-line switch(?§15.7.53 on page 568) can be used to observe this
type??™s lookups in db files and dbm files.
-r ?§24.9.119.22 on page 1108 The res_search( ) _res.
Pages:
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608