Beginning withV8.7 sendmail, the declaration and use of alias files is further complicated*
by the introduction of switched-services files (?§24.9.108 on page 1088). If the file defined
by the ServiceSwitchFile option exists, and if it defines the type and location of alias information,
eachalias definition is used just as if it were included in the configuration file
(although the syntax differs). On Solaris, Ultrix, and OSF systems, switched-service files
are supplied by the operating system. With these you should beware the silent introduction
of unexpected alias services. On other operating systems, you can set up a V8.7
switched-service file that can be used for aliases if you wish.
The AliasFile option is not safe. If specified from the command line, it can cause sendmail
to relinquish its special privileges.
24.9.2 AliasWait
Wait for aliases file rebuild All versions
Whenever sendmail rebuilds the aliases database, it first clears the old database. It then
rebuilds the database and, when done, adds the special entry @:@. Before sendmail attempts
to use the database, it first looks in that database for the special entry @:@ that should be
present. This curious entry is employed because it is always illegal in an aliases file. If sendmail
doesn??™t find that entry (whether because a user ran newaliases or because another
invocation of sendmail is currently rebuilding it), it waits two seconds for that entry to
appear, then checks again.
Pages:
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720