The -bt switch??™s chief use is in testing changes in
the configuration file. It is also useful for learning how rules and rule sets work.
8.1 Overview
The following command runs sendmail in rule-testing mode:*
% /usr/sbin/sendmail -bt
At first, the output produced by this command line prompts you like this:
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter
>
The ???ruleset 3??? statement says that, beginning with V8 (and IDA) sendmail, th e
canonify rule set 3 is no longer automatically called when rule sets are listed at the
prompt. We cover this property in detail in ?§8.6.2 on page 315.
Prior to V8 sendmail, rule-testing mode could be used only to test addresses. But
beginning withV8.7 sendmail, new functions were added. To see a summary of those
functions, enter a ? character followed by a RETURN at the > prompt. The output,
which we reproduce next, lists and gives a brief description of each function. Note
that the numbers to the right refer to sections in this chapter and are not a part of
sendmail??™s output:
> ?
Help for test mode:
* If you get an error suchas ???sendmail: Address test mode not supported???, you are probably not running the
real sendmail. Some programs, suchas Netscape??™s Internet Mail Server, masquerade as sendmail without letting
you know that they are doing so.
Pages:
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554