Prev | Current Page 1499 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"


Instead, they must be edited out of whatever file or program produced them, and the
sendmail daemon must be restarted.
The list of words in a class declaration can include macros. For example, the following
assigns the same values to class $=X as did the earlier example:
D{LIST} string1 string2 string3 string4
CX ${LIST}
Macros used in class declarations are expanded when the configuration file is read.
Deferred macros (those with the $& prefix) cannot be used in class declarations. But
conditionals can:
CX ourhost$?{Domain}.${Domain}$.
22.1.1.1 Append one class to another
Beginning withV8.10 sendmail, it is possible to copy and add values from one class
to another. The declaration to do this looks like the following:
C{To} $={From}
Here, the values stored in the $={From} class are added to the values stored in the
$={To} class. If $={To} does not exist, it will create them.
This effect is caused by the fact that class macros are now expanded when placed on
a C configuration line. To illustrate, consider the following mini configuration file,
which we call x.cf:
V10
CA 1 2 3
CB 7 8 9
CX $=A 4 5 6 $=B
When this configuration file is read, first the class $=A is filled withth ree values: 1, 2,
and 3. Then the class $=B is filled with three different values: 7, 8, and 9. Finally, the
class $=X is filled first withth e values from $=A (1, 2, and 3), then with its own values
(4, 5, and 6), and lastly withth e values from $=B (7, 8, and 9).


Pages:
1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511
życzenia z okazji urodzin alufelgi poznań opiekunka Connie Talbot zdjęcia ślubne warszawa