Prev | Current Page 560 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

Note in
the last two examples that it will remove quotation marks only if the enclosed
expression is a valid address expression. In neither of the last two examples were the
enclosing angle braces or parentheses balanced.
8.5.4 Select Whom to /parse or /try with /tryflags
Before we cover the /parse and /try commands, we need to mention the /tryflags
rule-testing command because it is used to select the sender, recipient, headers, and
envelope for the /parse and /try commands. The /tryflags command is used like this:
/tryflags h ?†? set headers
/tryflags e ?†? set envelope
/tryflags s ?†? set sender
/tryflags r ?†? set recipient
/tryflags er ?†? set envelope recipient
The arguments are single letters that can appear in uppercase or lowercase and in
any order. Any letter other than those shown is silently ignored.
The default setting when sendmail first starts to run in rule-testing mode is er for
envelope recipient. Omitting the argument causes sendmail to print the following
usage statement:
Usage: /tryflags [Hh|Ee][Ss|Rr]
8.5.5 Parse an Address with /parse
The /parse rule-testing command instructs sendmail to pass an address through a
predetermined sequence of rules to select a delivery agent and to put the $u macro
(?§21.9.96 on page 848) into its final form. The /parse command is used like this:
/parse address
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc.


Pages:
548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572
wierszyki katalog stron Internet śmieszne dowcipy Jaki wybrać olej