The name is followed by
optional whitespace and then a filename, a program name, or a database-map
lookup. If the name begins with the pipe character (|), it is taken to be the name of a
program to run.* If the name includes an @ character, it is taken to be a key to look
up, and the name of a database map. Otherwise, it is taken to be the name of a file to
read.
If SCANF (?§3.4.49 on page 137) was defined when sendmail was compiled, eachline
that is read from a file or program (but not from a database map) is parsed by the Clanguage
scanf(3) library routine. The formatting pattern given to scanf(3) is %s,
which tells scanf(3) to read only the first whitespace-delimited word from each line
of text.
When the configuration file is processed, the file is opened for reading, or the program
is executed, or the database map is opened for lookups. If any cannot be
opened (for reading, execution, or lookups), the following error is logged and sendmail
ignores that configuration command:
fileclass: cannot open what: why
Here, the what is the exact text that was given in the configuration file, and why is the
text of a system error.
A file, program, or database map can also fail to open because of defective permissions.
See ?§4.5 on page 164 to learn why permissions are important, and ?§4.5.4 on
page 167 for a list of recommended permissions.
Pages:
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513