Beginning withV8.9, sendmail offers
a database which provides that same service, and more (such as feature selection and policy
control), in a muchmore easily configurable way. See ?§7.5 on page 277 for a detailed
description of this feature.
17.8.4 FEATURE(allmasquerade)
Masquerade recipient as well as sender V8.2 and later
If a MASQUERADE_AS domain is defined, that name replaces any sender addresses, the
domain part of which is listed either by MASQUERADE_DOMAIN (?§17.4.3 on page 600)
or in the $=w class (?§22.6.16 on page 876). FEATURE(allmasquerade) causes header recipient
addresses to also have that treatment.
But note that this feature can be extremely risky and that it should be used only if the
MASQUERADE_AS host has an aliases file that is a superset of all aliases files and a passwd
file that is a superset of all passwd files at your site. To illustrate the risk, consider a situation
in which the masquerade host is named hub.domain and mail is being sent from the
local workstation. If a local alias exists on the local workstation??”say, thishost-users??”that
does not also exist on the masquerade host, FEATURE(allmasquerade) will cause the To:
header to go out as:
To: thishost-users@hub.domain
Here, the address thishost-users does not exist on the masquerade host (or worse, might
show up as a user part with a host part from an arbitrary Internet site), and as a consequence,
replies to messages containing this header will bounce.
Pages:
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083