Prev | Current Page 1036 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

For completeness, we also list
one keyword for adding delivery agents.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
17.3 m4 Macros by Function | 595
To illustrate, consider the following technique for adding a rule to the parse rule
set 0:
LOCAL_RULE_0
R$* <@ $=w . $=m> $* $#local $: $1 @here.ourdomain
Here, we add a rule to the parse rule set 0 that accepts any address with a host part
in the class $=w (?§22.6.16 on page 876) that is also in one of the local domains listed
in the class $=m (?§22.6.7 on page 872) as a local address.
17.3.3.1 LOCAL_CONFIG mc macro
The LOCAL_CONFIG mc macro allows custom configuration lines to be inserted in
the configuration file by using the mc file. The inserted lines are carried literally into
the output and appear in the resulting configuration file just before the options. The
LOCAL_CONFIG mc macro should be used for sendmail macro, class, and map definitions,
but not for rule set declarations. For rule sets, use the LOCAL_RULESETS
mc macro (?§17.3.3.5 on page 597):
LOCAL_CONFIG
FE/usr/local/mail/visible.users
Khostmap hash /etc/hostmap
In this example, the class $=E has additional names read from the file visible.users,
and the hostmap database is declared.
If you wrongly include rule sets and rules withth is LOCAL_CONFIG mc macro you
might see the following warning:
Warning: OperatorChars is being redefined.


Pages:
1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048
trener nlp ceny żywca leczenie alkoholizmu Kołobrzeg aquilamed