Previous Section Next Section

21.7 Macros with mc Configuration

The various FEATURE( )s of the mc configuration technique primarily use uppercase, single-character macro names. The complete list of them is shown in Table 21-5. Some of these are defined by using the appropriate mc configuration command (as you'll see later). Others are predefined for you by the mc configuration technique. See the appropriate section reference for a full description of how to use each macro.

Table 21-5. Macros reserved with the mc configuration technique

Macro

§

Description

$B

$B

The BITNET relay

$C

$C

The DECnet relay

$D

$D

The local domain (unused)

$E

$E

The X.400 relay (reserved for future use)

$F

$F

The fax relay

$H

$H

The mail hub

$L

$L

The unknown local user relay

$M

$M

Whom we are masquerading as

$R

$R

The relay for unqualified names (deprecated)

$S

$S

The smart host

$U

$U

The UUCP name to override $k

$V

$V

The UUCP relay for class $=V

$W

$W

The UUCP relay for class $=W

$X

$X

The UUCP relay for class $=X

$Y

$Y

The UUCP relay for unclassified hosts

$Z

$Z

The version of this mc configuration

A few macros can be defined by using an mc configuration command. For example, here is how you define the BITNET relay with the BITNET_RELAY keyword:

define(`BITNET_RELAY', `host.domain')

See Table 21-6 for a list of the mc macros that can be defined. The leftmost column in that table shows the keyword to use.

Table 21-6. Macros declared with special mc names

mc name

Macro

§

Description

BITNET_RELAY

$B

Section 4.5.1

The BITNET relay

confCF_VERSION

 

$Z

The version of this mc configuration

confDOMAIN_NAME

$j

$j

Official canonical name

confLDAP_CLUSTER

${sendmailMTACluster}

${sendmailMTACluster}

The LDAP cluster to use

confMAILER_NAME

$n

$n

The error message sender

DECNET_RELAY

$C

$C

The DECnet relay

FAX_RELAY

$F

Section 4.5.3

The fax relay

LOCAL_RELAY

$R

$R

The relay for unqualified names

LUSER_RELAY

$L

Section 4.5.6

Local user relay

MAIL_HUB

$H

$H

The mail hub

MASQUERADE_AS( )

$M

$M

Whom we are masquerading as

SMART_HOST

$S

$S

The smart host

UUCP_RELAY

$Y

$Y

The UUCP relay for unclassified hosts

Note that MASQUERADE_AS is the single exception in Table 21-6. It is not defined with a define keyword. Rather, it is used by itself to define setting. For example:

MASQUERADE_AS(`server')
    Previous Section Next Section