Prev | Current Page 1047 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

8.29 on
page 631).
Also note that MASQUERADE_DOMAIN has special meaning for the limited_
masquerade feature (?§17.8.22 on page 625). When that feature is declared, only the
domains listed under MASQUERADE_DOMAIN will be masqueraded.
17.4.4 MASQUERADE_DOMAIN_FILE mc Macro
In masquerading other domains, as with MASQUERADE_DOMAIN, it can prove
advantageous to store the list of masqueraded domains in an external file. The
MASQUERADE_DOMAIN_FILE mc macro allows you to do just that:
MASQUERADE_DOMAIN_FILE(`/etc/mail/domains??)
Essentially, all that MASQUERADE_DOMAIN_FILE does is read the external file
using the F configuration command. As a consequence, you can add an F-style argument
to its declaration:
MASQUERADE_DOMAIN_FILE(`-o /etc/mail/domains??)
Here, we added a -o to make the existence of the file optional.
Note that the file specified with MASQUERADE_DOMAIN_FILE is read only once,
when sendmail first starts.
17.4.5 MASQUERADE_EXCEPTION mc Macro
Normally, when you masquerade a site, you masquerade all the machines at that
site. But in some instances that might not be desirable. Beginning with V8.10 sendmail,
it is now possible to omit selected hosts from masquerading.
Consider, for example, a university that hosts a few subdomains within it. If bigcampus.
edu provided mail services for cs.bigcampus.edu, it might set up its main mail
server??™s mc file like this:
MASQUERADE_AS('bigcampus.


Pages:
1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059
plaza hurghada niszczenie dokumentów Arytmia życzenia na walentynki SPA