Prev | Current Page 1039 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

3.3.3 LOCAL_RULE_1 and LOCAL_RULE_2 mc macros
Rule sets 1 and 2 are normally empty and are not included in the configuration file
that is created from your mc file. Rule set 1 processes all sender addresses (?§19.7.1
on page 702). Rule set 2 processes all recipient addresses (?§19.7.2 on page 702).
These two mc macros are used just like LOCAL_RULE_0, as shown earlier, but they
introduce rules that would otherwise be omitted, rather than adding rules to an
existing rule set.
Note that any modifications made to addresses in LOCAL_RULE_1 and LOCAL_
RULE_2 are reflected in the headers of mail messages.
17.3.3.4 LOCAL_RULE_3 mc macro
All addresses are first rewritten by the canonify rule set 3 (?§19.3 on page 690). Thus,
for complex configuration needs, it is handy to define special rules and add them to
the canonify rule set 3. Note that new rules are added to the end of the canonify rule
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
17.3 m4 Macros by Function | 597
set 3 by way of rule set 96. That is, each final decision in the canonify rule set 3 calls
rule set 96 (with $>96) before returning.
The LOCAL_RULE_3 mc macro is most often used to introduce new rules that can
be used in canonicalizing the hostnames.
One suggested use for LOCAL_RULE_3 is to convert old UUCP hostnames into
domain addresses using the UUCPSMTP mc macro.


Pages:
1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051
Pozycjonowanie Wrocław nocleg lodz pompy ciepła kasta.brene.pl Wczasy nad morzem