29.8 Rule Set 2
All recipient addresses are rewritten by rule set 2 and the
# Recipient processing: none needed S2 But note that rule set 2 can be used to debug rules. [5] Consider the following rule in rule set 2:
R$#$+ $:$+ $:$2 Strip delivery agent and host when debugging
Recall that rule set 0 returns a triple. When testing an address,
rule set 2 can be called following rule set 0 to simulate
the rewriting of the user portion of rule set 0. Here the
LHS matches only a triple, so normal recipient addresses
are unaffected. The user part that is returned by the RHS can then
be used to test individual |
|