Delivery Agent Equates

Recall that the form for the M command is:

Msymname, equate, equate, equate, ...

Each equate expression is of the form:

field=arg

The field is one of those in Table 20-18. Only the first character of the field is recognized. For example, all of the following are equivalent:

S=21
Sender=21
SenderRuleSet=21

The field is followed by optional whitespace, the mandatory = character, optional whitespace, and finally the arg. The form of the arg varies depending on the field. The arg might or might not be required.

Special characters can be embedded into the field as shown in Table 21-2 on page 788. For example, the backslash notation can be used to embed commas into the A= delivery agent equate like this:

...    A=eatmail -F0\,12\,99

The complete list of delivery agent equates is shown in Table 20-18. A full description of each begins in the next section. They are presented in alphabetical order, rather than the order in which they would appear in typical delivery agent definitions.

Table 20-18. Delivery agent equates

Equate

Field name

§

Meaning

/=

/path

/=(forward slash) on page 737

Set a chroot directory (V8.10 and later)

A=

Argv

A= on page 738

Delivery agent’s command-line arguments

C=

CharSet

C= on page 741

Default MIME character set (V8.7 and later)

D=

Directory

D= on page 741

Delivery agent working directory (V8.6 and later)

E=

EOL

E= on page 742

End-of-line string

F=

Flags

F= on page 743

Delivery agent flags

L=

LineLimit

L= on page 745

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.