* This was removed from V8.1 sendmail because it presented a security risk. It was restored to V8.7 and later
because sendmail now checks permissions more carefully and exec(2) is the program itself, instead of using
the old, buggy popen(3) approach of yore.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
858 | Chapter 22: The C and F (Class Macro) Configuration Commands
For the file form only, if the file can optionally not exist, you can prefix its name with
a -o switch:
FX -o file ?†? OK for file to not exist
This tells sendmail to remain silent if the file does not exit. The -o switchis useful
when a configuration file is shared by several machines, only some of which need the
external class macro file. But be aware that there can be grave risk to not knowing
when a critical file disappears.
The C and F forms of the configuration command can be intermixed for any given
class name. For example, consider a file named /etc/mail/localnames withth e following
contents:
string3
string4
The following two configuration commands add the same four strings to the class X
as did the C command alone in the previous section:
CX string1 string2
FX /etc/mail/localnames
This creates a class with four strings as elements. Whitespace delimits one string
from the others in the C line declaration.
Pages:
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514