11.5 Testing So FarIf you haven't already done so, add the new macro and the new rule set to the client.cf file:
# Defined macros D{REMOTE}mailhost # The name of the mail hub
Remember to replace The new rule set looks like this:
SHubset # Rewrite the sender for the hub Now test the new rule by running sendmail in rule-testing mode:
%
At the prompt, specify rule set 3 first because
all addresses are preprocessed
by that rule. Then specify
> Following the list of rule sets, give the sender's name. Remember that the lone login name will be rewritten to appear as though it is from the hub. The output produced by sendmail looks like this:
rewrite: ruleset 3 input: you rewrite: ruleset 3 returns: you rewrite: ruleset 199 input: you rewrite: ruleset 199 returns: you @ mail . us . edu
Note that V8
sendmail
internally changed the name |
|