All rights reserved.
17.4 Masquerading | 599
in domains where email is addressed to the domain rather than to individual hosts
inside the domain.
Masquerading usually rewrites header-sender addresses. Some mc features allow you
also to rewrite envelope addresses and recipient headers. The complete list of all definitions
and features that affect masquerading is shown in Table 17-3.
17.4.1 EXPOSED_USER mc Macro
An internal sendmail class is used by the V8 configuration file to hold a list of usernames
that should never be masqueraded (even if masquerading is enabled with the
MASQUERADE_AS mc macro). Prior to V8.10 sendmail, the user root was always in
that class. With V8.10 and later, that class is now always empty unless you add usernames
into it.
You can add users individually with the EXPOSED_USER mc macro like this:
EXPOSED_USER(`user??)
Here, user is either one user or a list of users separated by spaces.
Table 17-3. Definitions and features affecting masquerading
What ?§ Version Masquerade
EXPOSED_USER ?§17.4.1 on page 599 V8.6 and later All but these hosts
EXPOSED_USER_FILE ?§17.4.1.1 on page 600 V8.12 and later All but these
FEATURE(allmasquerade) ?§17.8.4 on page 615 V8.2 and later The recipient too
FEATURE(domaintable) ?§17.8.16 on page 621 V8.2 and later Rewrite old domain as equivalent
to new domain
FEATURE(generics_entire_domain) ?§17.
Pages:
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055