6.2 Macro Xtext Translations
Some macros are assigned values from text that is supplied by outside connecting
hosts. Such text cannot necessarily be trusted in rule sets, or as keys in database-map
lookups.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
796 | Chapter 21: The D (Define a Macro) Configuration Command
To protect itself, sendmail modifies such text by translating whitespace characters
(spaces and tabs), nonprinting characters (such as newlines and control characters),
and the following list of special characters:
< > ( ) " +
Translation is the replacement of each special character with its corresponding hexadecimal
value (based on U.S. ASCII), where each new hexadecimal value is prefixed
with a plus character.* For example:
(some text) becomes ?†’ +28some+20text+29
Only six macros are subject to this encoding at this time. They are listed in
Table 21-4.
21.7 Macros with mc Configuration
The various FEATURE( )s of th e mc configuration technique primarily use uppercase,
single-character macro names. The complete list of them is shown in Table 21-5.
Some of these are defined by using the appropriate mc configuration command (as
you??™ll see later). Others are predefined for you by the mc configuration technique.
See the appropriate section reference for a full description of how to use each macro.
Pages:
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398