A Useful Table

Beginning with V8.7 sendmail, rule-testing mode offers 13 simple commands that will help you understand your configuration file. They are listed in Table 8-1.

Table 8-1. Available -bt commands

Command

sendmail text reference

Description

.D

8.2.1[3ed]

Give a macro a value

.C

8.2.2[3ed]

Add a value to a class

=S

8.4.1[3ed]

Show a rule set’s rules

=M

8.4.2[3ed]

List all delivery agents

-d

16.1[3ed]

Turn debugging on or off

$

8.3.1[3ed]

Show a macro’s value

$=

8.3.2[3ed]

List a class’s contents

/canon

8.5.1[3ed]

Canonify a host

/mx

8.5.2[3ed]

Look up MX records

/map

8.5.3[3ed]

Look up a database item

/tryflags

8.5.4[3ed]

Select whom to /parse or /try

/parse

8.5.5[3ed]

Parse an address

/try

8.5.6[3ed]

Try a delivery agent

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.