In the original
delivery agent definition the
equate was set to zero:
Mhub, P=[IPC], S=0, R=0, F=mDFMuXa, T=DNS/RFC822/SMTP, A=IPC $h
no custom processing
equate is used to specify the number of the rule set
that will perform delivery agent-specific custom processing of
the sender's address. When that equate specifies rule set 0,
does no custom processing.
Now that we intend to do custom sender address processing, we will
change the 0 into of a real rule set number and write that
Recall that rule sets 0 through 5 have special internal meanings
Section 8.3, "Rule Sets"
When selecting a rule number for
use in a delivery agent's
equate, you need either to carefully
select one that does not already have internal meaning for
or to let
select the number
for you. For the purposes of the
we will use the latter approach.
As the first step in creating a new rule set, edit the
file and change
delivery agent definition.
, R=0, F=mDFMuXa, T=DNS/RFC822/SMTP, A=IPC $h
change to symbolic name
This change tells
to assign a number of its
own choosing to
. That rule set, which we will
refer to symbolically by the name
will do a custom rewrite of the sender's address for this (the
) delivery agent.
But before you can create that actual rule set,
we need to review why it is necessary.