home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


Previous Section Next Section

B.21 Chapter 21

Section 21.4.2

Prior to V8.10, the maximun length of a multicharacter macro name was 20 characters. As of V8.10, it is now 25 characters.

Section 21.8

Prior to V8.10, loops in macro definitions could cause sendmail to appear to hang and to eventually segmentation-fault and core-dump. As of V8.10, the loop is detected and an error is reported instead.

Section 21.9

Since V8.8, many new macros have been introduced. Some deal with authentication, while others store handy values that you can use in rule sets. All the new macros are listed in Table B-2.

$k

V8.10 no longer supports the TRUST_POPEN compile-time macro.

Table B-2. New macros

Macro name

§

Version

Contains as its value

${addr_type}

${addr_type}

8.10

A value that says whether the current address is one of a sender or a recipient

${alg_bits}

${alg_bits}

8.11

The number of bits in the TLS cipher

${auth_authen}

${auth_authen}

8.10

The authentication credentials that were approved as its value

${auth_author}

${auth_author}

8.10

The address that followed the MAIL FROM: AUTH= extension

${auth_ssf}

${auth_ssf}

8.11

The SASL encryption-keylength

${auth_type}

${auth_type}

8.10

The actual type of encryption used

${cert_issuer}

${cert_issuer}

8.11

The Distinguished Name (DN) of the certificate authority

${cert_md5}

${cert_md5}

8.12

The result of an md5(1) 128-bit "fingerprint" of the certificate

${cert_subject}

${cert_subject}

8.11

The DN of the certificate

${cipher_bits}

${cipher_bits}

8.11

The key length (in bits) of the symmetric encryption algorithm used for the TLS connection

${client_flags}

${client_flags}

8.10

The flags specified by the ClientPortOptions option's modify parameter

${client_resolve}

${client_resolve}

8.10

The result of a lookup of the host in ${client_name}

${cn_issuer}

${cn_issuer}

8.11

The common name (CN) of the one who signed the certification, also known as the certificate of authority

${cn_subject}

${cn_subject}

8.11

The CN of the certificate

${currHeader}

${currHeader}

8.10

The current header being checked

${cipher}

${cipher}

8.11

The cipher suite used for the TLS connection

${daemon_addr}

${daemon_addr}

8.10

The address on which the daemon is listening

${daemon_family}

${daemon_family}

8.10

The DaemonPortOptions=Family option's value

${daemon_flags}

${daemon_flags}

8.10

The value letters from the DaemonPortOptions=Modify option

${daemon_info}

${daemon_info}

8.10

The same information that sendmail logs when it first starts to run

${daemon_name}

${daemon_name}

8.10

The value of the DaemonPortOptions=Name option

${daemon_port}

${daemon_port}

8.10

The value of the DaemonPortOptions=Port option

${deliveryMode}

${deliveryMode}

8.9

The letter representing the setting of its DeliveryMode option

${dsn_envid}

${dsn_envid}

8.10

The envelope identifier as set by the ENVID= SMTP extension

${dsn_notify}

${dsn_notify}

8.10

The value specified by the NOTIFY= SMTP extension

${dsn_ret}

${dsn_ret}

8.10

The value specified by the RET= = SMTP extension

${hdr_name}

${hdr_name}

8.10

The name of the current header being processed

${if_addr}

${if_addr}

8.10

The IP address of the receive interface

${if_addr_out}

${if_addr_out}

8.12

The IP address of the send interface

${if_family}

${if_family}

8.10

The network family of the receive interface

${if_family_out}

${if_family_out}

8.12

The network family of the send interface

${if_name}

${if_name}

8.10

The hostname associated with the receive interface

${if_name_out}

${if_name_out}

8.12

The hostname associated with the send interface

${load_avg}

${load_avg}

8.10

The current load average as an integer

${mail_addr}

${mail_addr}

8.10

The saved $: value from the MAIL FROM: triple

${mail_host}

${mail_host}

8.10

The saved $@ value from the MAIL FROM: triple

${mail_mailer}

${mail_mailer}

8.10

The saved $# value from the MAIL FROM: triple

${msg_size}

${msg_size}

8.10

The size of the current message in bytes

${MTAHost}

${MTAHost}

8.12

The host for the msp feature

${nrcpts}

${nrcpts}

8.9

The number of recipients for the current message

${ntries}

${ntries}

8.10

The number of delivery attempts for the current envelope

${queue_interval}

${queue_interval}

8.10

The queue run interval given by the -q command-line switch when sendmail is started

${rcpt_addr}

${rcpt_addr}

8.10

The saved $: value from the RCPT TO: triple

${rcpt_host}

${rcpt_host}

8.10

The saved $@ value from the RCPT TO: triple

${rcpt_mailer}

${rcpt_mailer}

8.10

The saved $# value from the RCPT TO: triple

${sendmailMTACluster}

${sendmailMTACluster}

8.12

The name of the LDAP cluster

${server_addr}

${server_addr}

8.11

The IP address of the connected-to host

${server_name}

${server_name}

8.11

The hostname of the connected-to host

${tls_version}

${tls_version}

8.11

The version used for the TLS connection

${verify}

${verify}

8.11

The text word that describes the result of verification of the presented certificate

    Previous Section Next Section