O'Reilly logo

Sendmail, 3rd Edition by Bryan Costales

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required