host will be disallowed on the lefthand side of the aliases file:
% newaliases
/etc/mail/aliases: line 2: Bob@another.host... cannot alias nonlocal names
In the rare circumstance that you need to be able to alias nonlocal addresses, you can
do so by adding the F=A flag to the smtp class of delivery agents. You do this by editing
your mc configuration file and adding the following line above the definition for
that class of delivery agents:
APPENDDEF(`SMTP_MAILER_FLAGS', `A??) ?†? prior to V8.10
MODIFY_MAILER_FLAGS(`SMTP', `+A??) ?†? V8.10 and above
MAILER(smtp) ?†? this must follow flag modifications
After that, build a new configuration file from this new mc file and install it. Thereafter,
you will be able to successfully alias nonlocal addresses without errors.
Before undertaking this step, however, see ?§17.8.59 on page 645 for a description of
the FEATURE(virtusertable) which also allows nonlocal addresses to be transformed
into inside or outside addresses. Note, too, that the User Database (?§23.7.27 on page
942) allows recipient addresses to be changed so that they can be delivered to new
hosts, and that the FEATURE(genericstable) in ?§17.8.19 on page 622 allows sender
addresses to be changed to appear to be coming from new hosts. Clearly, there are
many ways to achieve the same result, and one of those might be more suitable to
your needs than the F=A flag.
Pages:
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836