edu??)
FEATURE(`masquerade_entire_domain??)
MASQUERADE_EXCEPTION(`cs.bigcampus.edu??)
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
602 | Chapter 17: Configure sendmail.cf with m4
The argument to MASQUERADE_EXCEPTION can be one or more hosts, separated
from each other by spaces. Each excepted host is assigned to an internal sendmail
class.
Note that you cannot exempt all hosts in a domain with this MASQUERADE_
EXCEPTION mc macro. You must specify each host individually.
17.4.6 MASQUERADE_EXCEPTION_FILE mc Macro
If you have many exceptions defined with the MASQUERADE_EXCEPTION mc
configuration macro, you can store them in a single file??”say, donotmasq??”and read
that file using the MASQUERADE_EXCEPTION_FILE mc macro:
MASQUERADE_EXCEPTION_FILE(`/etc/mail/donotmasq??) ?†? V8.12 and later
Essentially, all that MASQUERADE_EXCEPTION_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_EXCEPTION_FILE(`-o /etc/mail/donotmasq??) ?†? V8.12 and later
Here, we added a -o to make the existence of the file optional.
Note that the file specified with MASQUERADE_EXCEPTION_FILE is read only
once, when sendmail first starts.
17.5 Relays
A relay is a rule that sends all of one type of mail to a specific destination.
Pages:
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060