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 ...

Get Sendmail, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.