[Chapter 1] 1.4 Rule-Testing Mode (-bt) Commands
Author: Bryan Costales & Eric Allman
Date: 1999-02-04T00:04:14Z

#

| Chapter 1 How to Run |

## 1.4 Rule-Testing Mode (-bt) Commands

?

  Prints help.

.D rUUCP

  Defines macro $r as UUCP (see §38.2.1).

.C wlocalhost

  Adds localhost to class $=w (see §38.2.2).

=S 5

  Dumps the contents of rule set 5 (see §38.4.1).

=M

  Displays a list of the known delivery agents (see §38.4.2).

-d 48.2

  Sets debugging output to category 48 and level 2 (see §37.1).

${envid}

  Prints the value in the macro {envid} (see §38.3.1).

$=w

  Prints the contents of class macro $=w (see §38.3.2).

/mx aol.com

  Returns the MX records for aol.com, sorted into the order they will be tried, with equal cost records randomized (see §38.5.2).

/parse bob

  Parses the address bob, and returns the value of crackaddr() and the final parsed address including the selected delivery agent (see §38.5.5).

/try local bob

  Rewrites the address bob based on the rule sets indicated in the local delivery agent (see §38.5.6).

/tryflags ER

  Sets flags used by /parse and /try to envelope recipient (see §38.5.4). Use `E` or `H` to choose envelope versus header, and `R` or `S` to choose recipient versus sender.

/canon foo

  Transforms the hostname foo into its canonical form (see §38.5.1).

/map aliases root

  Looks up root in the aliases database (see §38.5.3).

3,0 bob@foo

  Runs the address bob@foo first through rule set 3, then rule set 0 (see §38.6).

1.3 Some Handy Debugging Switches |  | 1.5 Hints