7 sendmail, this is now
the preferred form.
Because these forms of definition are a part of the command line, all special characters
are interpreted by the shell. Any text that contains shell wildcard or history
characters should have each of those special characters prefixed with a backslash:
-MXsurprise\!me ?†? /! is special for the C and bash shells
Command-line macros are defined before the configuration file is read and parsed by
sendmail. Note that configuration-file macros always override command-line macros.
Despite this, command-line definitions can still be useful. Preassigned macros can be
given new values, and user-defined macros can be initialized in the command line.
For security reasons, only the r and s macros* allow sendmail to retain any special
privilege. Overriding the value of any other macro from the command line causes
sendmail to give up that special privilege.
* For V8 sendmail, r and s should be set with the -p command-line switch (?§6.7.37 on page 246).
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
21.3 Configuration-File Definitions | 787
21.2.1 Syntax of the Command-Line Macro??™s Text
When a sendmail macro is declared on the command line, its text value is taken
from the command line as is:
-oMXtext ?†? obsolete
-MXtext
Unlike sendmail macros declared in the configuration file (which we describe next),
command-line declarations do not handle escape characters.
Pages:
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384