The ${msg_size} macro can be useful in the check_data rule set (?§19.9.1 on page 705)
which is called just after the SMTP DATA command and can be used to check the size specified
with SIZE=. It can also be useful in the check_compat rule set (?§7.1.5 on page 259)
which is called just before delivery and can be used to check the size of the received
message.
${msg_size} is transient. If it is defined in the configuration file or in the command line,
that definition can be ignored by sendmail. Note that a $& prefix is necessary when you
reference this macro in rules (that is, use $&{msg_size}, not ${msg_size}).
21.9.70 $M
Whom we are masquerading as mc configuration
When you define MASQUERADE_AS using the m4 configuration technique, you both
enable masquerading (?§17.4.2 on page 600) and assign the masquerade-as hostname to this
$M macro. Note that defining $M will not enable masquerading. You must use the
MASQUERADE_AS m4 configuration command to enable this service.
You should never use this macro directly because it might change in a future release of
sendmail. Use the MASQUERADE_AS mc configuration macro instead.
21.9.71 ${MTAHost}
Host for the msp feature V8.12 and later
The FEATURE(msp) can take an optional argument. That argument determines whether the
mail collected by the MSP invocation of sendmail should be delivered to the local machine
or to another machine:
FEATURE(`msp??) ?†? deliver to localhost
FEATURE(`msp??, `otherhost??) ?†? deliver to otherhost
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc.
Pages:
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473