Useful Tables

There are three useful tables in this chapter.

Delivery Agents by Name

In Table 20-1, we list the standard and special delivery agents in alphabetical order, along with a convenient description of each.

Table 20-1. Delivery agents described by name

MAILER( )

Agents declared

Description

cyrus

cyrus and cyrusbb (20.4.1[3ed])

Deliver to a local cyrus user. Handles [email protected] syntax to the user’s IMAP V1 mailbox.

cyrusv2

cyrusv2 (20.4.2[3ed])

Somewhat like cyrus, but delivers using LMTP via a Unix-domain socket, and requires Cyrus V2.

none

discard (20.4.3[3ed])

Causes the message to be accepted and discarded.

none

error (20.4.4[3ed])

Causes the message to be rejected or quarantined (Section 11.1.2.6 [V8.13]).

fax

fax (20.4.5[3ed])

Delivers to a program that handles fax delivery.

none

*file* and *include* (20.4.6)[3ed]

Performs delivery by appending to a file and handles delivery through :include: lists.

local

local (20.4.7.1[3ed]), prog (20.4.7.2[3ed])

Performs final, local delivery, either to a user’s mailbox or through a program.

mail11

mail11 (20.4.8[3ed])

Allows use of the mail11 program for delivery to DECnet addresses.

phquery

ph (20.4.9[3ed])

Delivery is through the phquery program, which looks up user information in the CCSO nameserver database, and then provides appropriate information for delivery (deprecated).

pop

pop (20.4.10[3ed])

Delivery for POP users who lack local accounts using MH’s spop.

procmail

procmail (20.4.11[3ed])

Delivers via procmail, which allows additional processing for local or special delivery needs.

qpage

qpage (20.4.12[3ed])

Part of a client/server software package that allows messages to be sent via an alphanumeric pager.

smtp

smtp (20.4.13[3ed]), esmtp (20.4.13.2[3ed]), smtp8 (20.4.13.3[3ed]), dsmtp (20.4.13.4[3ed]), and relay (20.4.13.5[3ed])

The internal SMTP delivery agents.

usenet

usenet (20.4.14[3ed])

The usenet delivery agent is used to post messages to the USENET by means of the inews program.

uucp

uucp (4.6.1[3ed]), uucp-old (4.6.1[3ed]), uucp-new (4.6.2[3ed]), suucp (4.6.2[3ed]), uucp-dom (4.6.3[3ed]), uucp-uudom (4.6.4[3ed])

The delivery agents used to send UUCP mail.

Delivery Agent Equates

Recall that the form for the M cf configuration command is:

Msymname, equate, equate, equate, ...

And that each equate expression is of the form:

               field=arg

Here, the field is one of those in Table 20-2. 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-1 of 21.3.1[3ed]. For example, 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-2. A full description of each begins in the next section. Note that they are presented in alphabetical order, rather than the order in which they would appear in typical delivery agent definitions.

Table 20-2. Delivery agent equates

Equate

Field name

sendmail text reference

Meaning

/=

/path

20.5.1[3ed]

Set a chroot directory (V8.10 and above)

A=

Argv

20.5.2 [3ed]

Delivery agent’s command-line arguments

C=

CharSet

20.5.3[3ed]

Default MIME character set (V8.7 and above)

D=

Directory

20.5.4[3ed]

Delivery agent working directory (V8.6 and above)

E=

EOL

20.5.5[3ed]

End-of-line string

F=

Flags

20.5.6[3ed]

Delivery agent flags

L=

LineLimit

20.5.7[3ed]

Maximum line length (V8.1 and above)

M=

MaxMsgSize

20.5.8[3ed]

Maximum message size

m=

maxMsgsPerConn

20.5.9[3ed]

Max messages per connection (V8.10 and above)

N=

Niceness

20.5.10[3ed]

How to nice(2) the agent (V8.7 and above)

P=

Path

20.5.11[3ed]

Path to the delivery agent

Q=

QueueGroup

20.5.12[3ed]

The name of the queue group to use (V8.12 and above)

R=

Recipient

20.5.13[3ed]

Recipient rewriting rule set

r=

recipients

20.5.14[3ed]

Maximum recipients per envelope (V8.12 and above)

S=

Sender

20.5.15[3ed]

Sender rewriting rule set

T=

Type

20.5.16[3ed]

Types for DSN diagnostics (V8.7 and above)

U=

UID

20.5.17[3ed]

Run agent as user-id:group-id (V8.7 and above)

W=

Wait

20.5.18[3ed]

Timeout for a process wait (V8.10 and above)

Delivery Agent F= Flags

In Table 20-3, we detail each delivery agent flag, presented in alphabetical order, where lowercase letters precede uppercase letters for each delivery agent flag.

Note that, when configuring with the mc technique, you should examine cf/README to determine which delivery agent flags are set by default for which delivery agents.

Table 20-3. Delivery agent F= flags

Flag

sendmail text reference

Meaning

%

20.8.1[3ed]

Hold delivery until ETRN or -qI or -qR or -qS (V8.10 and above)

0

20.8.2[3ed]

Turn off MX lookups for delivery agent (V8.8 and above)

1

20.8.3[3ed]

Don’t send null bytes (V8.10 and above)

2

20.8.4[3ed]

Force SMTP even if ESMTP is offered (V8.12 and above)

3

20.8.5[3ed]

Extend quoted-printable to EBCDIC (V8.7 and above)

5

20.8.6[3ed]

Use the localaddr rule set 5 after local aliasing (V8.7 and above)

6

20.8.7[3ed]

Always strip headers to 7 bits (V8.10 and above)

7

20.8.8[3ed]

Strip the high bit when delivering (V8.6 and above)

8

20.8.9[3ed]

Force EightBitMode=p MIME encoding (V8.7 and above)

9

20.8.10[3ed]

Convert 7- to 8-bit if appropriate (V8.8 and above)

:

20.8.11[3ed]

Check for :include: files (V8.7 and above)

|

20.8.12[3ed]

Check for |program addresses (V8.7 and above)

/

20.8.13[3ed]

Check for /file addresses (V8.7 and above)

@

20.8.14[3ed]

User can be User Database key (V8.7 and above)

a

20.8.15[3ed]

Run extended SMTP protocol (V8.6 and above)

A

20.8.16[3ed]

User can be to the LHS of an alias (V8.7 and above)

b

20.8.17[3ed]

Add a blank line after message (V8.6 and above)

B

Section 20.1.1 [V8.13]

Strips all leading backslashes (V8.13 and above)

c

20.8.18[3ed]

Exclude comment from $g in headers (V8.6 and above)

C

20.8.19[3ed]

Add @domain to recipient

d

20.8.20[3ed]

Never enclose route addresses in <> (V8.7 and above)

D

20.8.21[3ed]

Need Date: in header

e

20.8.22[3ed]

Mark expensive delivery agents

E

20.8.23[3ed]

Change extra From into >From

f

20.8.24[3ed]

Delivery agent adds -f to argv

F

20.8.25[3ed]

Need From: in header

g

20.8.26[3ed]

Suppress From:<> (V8.6 and above)

h

20.8.27[3ed]

Preserve uppercase in hostname

H

Reserved for Mail11v3 (preview headers)

i

20.8.28[3ed]

User Database sender rewrite of envelope (V8.7 and above)

I

20.8.29[3ed]

Send SMTP VERB to other site (deprecated)

j

20.8.30[3ed]

User Database rewrite of header recipient addresses (V8.7 and above)

k

20.8.31[3ed]

Don’t check for loops in EHLO command (V8.7 and above)

l

20.8.32[3ed]

Agent performs local (final) delivery

L

20.8.33[3ed]

Specify SMTP line limits (obsolete)

m

20.8.34[3ed]

Multiple recipients possible

M

20.8.35[3ed]

Need Message-ID: in header

n

20.8.36[3ed]

Don’t use Unix-style From in header

N

Reserved for Mail11v3 (returns multistatus)

o

20.8.37[3ed]

Always run delivery agent as recipient (V8.7 and above)

p

20.8.38[3ed]

Process return path per RFC821 (deprecated)

P

20.8.39[3ed]

Need Return-Path: in header

q

20.8.40[3ed]

250 versus 252 return for SMTP VRFY (V8.8 and above)

r

20.8.41[3ed]

Delivery agent adds -r to argv

R

20.8.42[3ed]

Use a reserved TCP port (V8.6 and above)

s

20.8.43[3ed]

Strip quotation marks

S

20.8.44[3ed]

Assume specified user-id and group-id (Revised for V8.7)

u

20.8.45[3ed]

Preserve uppercase for username

U

20.8.46[3ed]

Use UUCP-style From line

v

Reserved for SysVR4

V

Reserved for UIUC

w

20.8.47[3ed]

Check for valid user identity (V8.7 and above)

W

Section 20.1.3 [V8.13]

Ignore host status for this delivery agent (V8.13 and above)

x

20.8.48[3ed]

Need Full-Name: in header

X

20.8.49[3ed]

Delivery agent needs RFC2821 hidden dot

z

20.8.50[3ed]

Deliver with LMTP (V8.9 and above)

Z

20.8.51[3ed]

Apply DialDelay option’s sleep (V8.12 and above)

~

Reserved for SGI (check for valid home directory)

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.223.20.57