A Useful Table

There is only one useful table in this chapter, which covers policy rule sets.

Policy Rule Sets

Beginning with V8.8, sendmail calls special rule sets internally to determine its behavior. These are called the policy rule sets and are used for such varied tasks as setting spam-handling, setting policy, or validating the conditions when ETRN should be allowed (to mention just a few). Table 19-2 shows the complete list of these policy rule sets.

Table 19-2. The policy rule sets

Rule set

sendmail text reference

Hook

Description

authinfo

10.9.3.2[3ed]

None

Handle AuthInfo: lookups in the access database

check_compat

7.1.4[3ed]

See discussion following the table

Validate just before delivery

check_data

19.9.1[3ed]

None needed

Check just after DATA

check_eoh

25.5.3[3ed]

None needed

Validate after headers are read

check_etrn

19.9.2[3ed]

None needed

Allow or disallow ETRN

check_expn

19.9.3[3ed]

None needed

Validate EXPN

check_mail

7.1.2[3ed]

Local_check_mail

Validate the envelope-sender address

check_rcpt

7.1.3[3ed]

Local_check_rcpt

Validate the envelope-recipient address

check_relay

7.1.1[3ed]

Local_check_relay

Validate incoming network connections

check_vrfy

19.9.3[3ed]

None needed

Validate VRFY

queuegroup

11.4.5[3ed]

See discussion following the table

Select a queue group

srv_features

19.1.3[3ed]

None needed

Tune server setting based on connection information

tls_client

10.10.8.2 ...

Get sendmail 8.13 Companion 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.