Prev | Current Page 1374 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

All rights reserved.
788 | Chapter 21: The D (Define a Macro) Configuration Command
Here, the notation \n represents a newline character, and the notation \t represents a
tab character.
If text is missing, the value assigned to the macro is that of an empty string; that is, a
single byte that has a value of zero.
If both the name and the text are missing, the following error is printed, and that D
configuration line is ignored:
configfile: line num: Name required for macro/class
21.3.1 Syntax of the Configuration-File Macro??™s Text
The text of a macro??™s value in the configuration file can contain escaped control
codes. Control codes are embedded by using a backslashescape notation. The backslash
escape notations understood by sendmail are listed in Table 21-2.
All other escaped characters are taken as is. For example, the notation \X becomes an
X, whereas the notation \b is converted to a backspace character (usually a Ctrl-H).
For example:
DXO\bc May\, 2003 becomes ?†’ O^Hc May, 2003
Here, the \b is translated into a backspace character (Ctrl-H is shown as ^H) and the
\, is translated into a literal comma character.
Note that prior to V8.8, the first comma and all characters following it were stripped
from the text unless the comma was quoted or escaped. For example:
DXMay, 2003 became ?†’ May
Beginning withV8.8 sendmail, the comma is no longer special in defined sendmail
macros.


Pages:
1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386
Wczasy nad morzem Gabi meble Warszawa kasyno Biuro księgowe Lublin noclegi zakopane