The comma following the symbolic name is optional. As long as a space follows the
symbolic name, sendmail parses it correctly. The comma should always be included
for improved clarity, however.
In the following, the first example includes the comma, and the second omits it. Both
are parsed by sendmail in exactly the same way:
Mlocal, P=/bin/mail, F=rlsDFMmnP, S=10, R=20, A=mail -d $u
Mlocal P=/bin/mail, F=rlsDFMmnP, S=10, R=20, A=mail -d $u
20.2 The Symbolic Delivery Agent Name
The M that begins the delivery agent definition command is immediately followed,
with no intervening whitespace, by the name of the delivery agent. Note that the
name is symbolic and is used only internally by sendmail. The name can contain no
whitespace, and if it is quoted, the quotation marks are interpreted as part of its
name. In the following, only the first is a good symbolic name:
Mlocal ?†? name is local, good
M local ?†? error: name required for mailer
Mmy mailer ?†? error: mailer my: `=?? expected
M"mymailer" ?†? quotation marks are retained
Although the symbolic name can contain any character other than a space or a
comma, only letters, digits, dashes, and underscore characters are recommended:
Mprog-mailer ?†? name is prog-mailer, good
Mprog_mailer ?†? name is prog_mailer, good
Mmymailer[ ]; ?†? name contains [ ];??”avoid such characters
The symbolic name is not case-sensitive; that is, local, Local, and LOCAL are all
identical.
Pages:
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248