Required Macros (V8.6 and Earlier)

Table 21-3 shows the sendmail macro names that must (prior to V8.6) be given values in the configuration file.

Table 21-3. Required macros

Macro

§

Description

As of V8.7

$e

SmtpGreetingMessage on page 1093

The SMTP greeting message

The SmtpGreetingMessage option

$j

$j on page 830

Official canonical hostname

Automatically defined

$l

UnixFromLine on page 1113

Unix From format

The UnixFromLine option

$n

$n on page 836

Name used for error messages

Automatically defined

$o

OperatorChars on page 1062

Delimiter operator characters

The OperatorChars option

$q

$q on page 840

Format of the sender’s address

No longer used

Each macro is described at the end of this chapter, in Alphabetized sendmail Macros on page 798. Prior to V8.7, failure to define a required macro could have resulted in unpredictable problems. Beginning with V8.7 sendmail, no macros are required. Some are predefined[304] for you by sendmail, and others have become options.

[304] * But you still might need to declare an occasional macro in your configuration file to solve unusual problems.

Get sendmail, 4th 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.