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

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 of Section 21.3.1. 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)

Set a chroot directory (V8.10 and above)

A=

Argv

A=

Delivery agent’s command-line arguments

C=

CharSet

C=

Default MIME character set (V8.7 and above)

D=

Directory

D=

Delivery agent working directory (V8.6 and above)

E=

EOL

E=

End-of-line string

F=

Flags

F=

Delivery agent flags

L=

LineLimit

L=

Maximum line length (V8.1 and above)

M=

MaxMsgSize

M=

Maximum message ...

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