The sendmail
program reserves all lowercase
letters, punctuation characters, and digits for its own use. For
multi-character names, it reserves all those that begin with an
underscore or a lowercase letter. Table 21-1 lists
all the macro names that have special internal meaning to
sendmail
. Included in this list are macros that
are used by the mc
configuration
technique.[29]
Table 21-1. Reserved macros
Macro |
sendmail text reference |
Description |
---|---|---|
|
21.9.1[3ed] |
RFC1413-validation and IP source route |
|
21.9.2[3ed] |
The origin date in RFC822 format |
|
21.9.3[3ed] |
Is address recipient/sender or header/envelope? |
|
21.9.4[3ed] |
The number of bits in the TLS cipher |
|
21.9.5[3ed] |
RFC2554 SASL AUTH credentials |
|
21.9.6[3ed] |
RFC2554 SASL AUTH= parameter |
|
21.9.7[3ed] |
SASL AUTH encryption key length |
|
21.9.8[3ed] |
SASL Authentication mechanism used |
|
21.9.9[3ed] |
The current date in RFC2822 format |
|
21.9.10[3ed] |
The ESMTP (Extended SMTP) BODY parameter |
|
21.9.11[3ed] |
The BITNET relay (mc configuration, deprecated) |
|
21.9.12[3ed] |
The hop count |
|
21.9.13[3ed] |
Distinguished name of certificate signer |
|
21.9.14[3ed] |
MD5 of cert certificate |
|
21.9.15[3ed] |
The cert subject |
|
21.9.16[3ed] |
Cipher suite used for connection |
|
21.9.17[3ed] |
TLS encryption key length |
|
21.9.18[3ed] |
The connecting host’s IP address |
|
Section 21.1.2 [V8.13] |
Current count of client connections |
|
21.9.19[3ed] |
Flags for tuning the outgoing connection |
|
21.9.20[3ed] |
The connecting host’s canonical name |
|
21.9.21[3ed] |
The connecting host’s port number |
|
Section 21.1.3 [V8.13] |
Result of looking up the connecting host’s IP number |
|
Section 21.1.4 [V8.13] |
The current client connection rate |
|
21.9.22[3ed] |
Result of lookup of |
|
21.9.23[3ed] |
Common name of certificate signer |
|
21.9.24[3ed] |
Common name of certificate |
|
21.9.25[3ed] |
Current header’s value |
|
21.9.26[3ed] |
The DECnet relay (mc configuration) |
|
21.9.27[3ed] |
The current date in Unix ctime(3) format |
|
21.9.28[3ed] |
Listening daemon’s address |
|
21.9.29[3ed] |
Listening daemon’s family |
|
21.9.30[3ed] |
Listening daemon’s flags |
|
21.9.31[3ed] |
Listening daemon’s syslog information |
|
21.9.32[3ed] |
Listening daemon’s name |
|
21.9.33[3ed] |
Listening daemon’s port |
|
21.9.34[3ed] |
The current delivery mode |
|
21.9.35[3ed] |
The |
|
21.9.36[3ed] |
The |
|
21.9.37[3ed] |
The |
|
24.9.105[3ed] |
The SMTP greeting message |
|
21.9.40[3ed] |
The original DSN envelope ID |
|
21.9.41[3ed] |
The X.400 relay (unused) (mc configuration) |
|
21.9.42[3ed] |
The sender’s address |
|
21.9.43[3ed] |
The fax relay (mc configuration) |
|
21.9.44[3ed] |
The sender’s address relative to recipient |
|
21.9.45[3ed] |
Host part of the delivery agent triple |
|
21.9.46[3ed] |
The current header’s name |
|
21.9.47[3ed] |
The length of |
|
21.9.48[3ed] |
The mail hub (mc configuration) |
|
21.9.49[3ed] |
The queue identifier |
|
21.9.50[3ed] |
The IP address of the receive interface |
|
21.9.51[3ed] |
The IP address of the send interface |
|
21.9.52[3ed] |
The network family of the receive interface |
|
21.9.53[3ed] |
The network family of the send interface |
|
21.9.54[3ed] |
The name of the receive interface |
|
21.9.55[3ed] |
The name of the send interface |
|
21.9.56[3ed] |
Official canonical name |
|
21.9.57[3ed] |
UUCP node name |
|
24.9.114[3ed] |
The Unix From format |
|
21.9.59[3ed] |
The current load average |
|
21.9.60[3ed] |
The unknown local user relay (mc configuration) |
|
21.9.61[3ed] |
The DNS domain name |
|
21.9.62[3ed] |
Saved |
|
21.9.63[3ed] |
Saved |
|
21.9.64[3ed] |
Saved |
|
Section 21.1.5 [V8.13] |
Value of the |
|
21.9.65[3ed] |
Size of the current message |
|
21.9.66[3ed] |
Whom we are masquerading as (mc configuration) |
|
21.9.67[3ed] |
Host for the |
|
21.9.68[3ed] |
Error message sender |
|
Section 21.1.6 [V8.13] |
Count of the bad recipients in the current envelope |
|
21.9.69[3ed] |
Number of envelope recipients |
|
21.9.70[3ed] |
Number of delivery attempts |
|
24.9.77[3ed] |
Token separation operators |
|
21.9.72[3ed] |
The start-up operating mode |
|
21.9.73[3ed] |
The sendmail process ID |
|
21.9.74[3ed] |
The default format of the sender’s address (obsolete) |
|
Section 21.1.7 [V8.13] |
The reason the envelope was quarantined |
|
21.9.75[3ed] |
The interval specified by |
|
21.9.76[3ed] |
The protocol used |
|
21.9.77[3ed] |
Saved |
|
21.9.78[3ed] |
Saved |
|
21.9.79[3ed] |
Saved |
|
21.9.80[3ed] |
The relay for unqualified names (mc configuration, deprecated) |
|
21.9.81[3ed] |
The sender host’s name |
|
21.9.82[3ed] |
The LDAP cluster to use |
|
21.9.83[3ed] |
The address of the connected-to machine |
|
21.9.84[3ed] |
The hostname of the connected-to machine |
|
21.9.85[3ed] |
The smart host (mc configuration) |
|
21.9.86[3ed] |
The current time to the minute in the format
|
|
Section 21.1.8 [V8.13] |
The current time in time(3) seconds |
|
Section 21.1.9 [V8.13] |
Total connections over the specified interval |
|
21.9.87[3ed] |
TLS/Secure Sockets Layer (SSL) version |
|
21.9.88[3ed] |
Address part of a delivery agent triple |
|
21.9.89[3ed] |
The UUCP name to override |
|
21.9.90[3ed] |
Version of the sendmail |
|
21.9.91[3ed] |
Result of cert verification |
|
21.9.92[3ed] |
The UUCP relay for class |
|
21.9.93[3ed] |
The short name of this host |
|
21.9.94[3ed] |
The UUCP relay for class |
|
21.9.95[3ed] |
The full name of the sender |
|
21.9.96[3ed] |
The UUCP relay for class |
|
21.9.97[3ed] |
Name of the controlling TTY |
|
21.9.98[3ed] |
The UUCP relay for unclassified hosts (mc configuration) |
|
21.9.99[3ed] |
The recipient’s home directory |
|
21.9.100[3ed] |
Version of the mc configuration (mc configuration) |
[29] Note that these are the exception to the usual rule in that they are all uppercase letters. This makes sense because these macros are being used by the configuration file, rather than the internals of the sendmail program.
18.221.53.5