)
All delivery agent equates, suchas F= and M=, can be modified withth e .m4 configuration
technique. Table 20-18 on page 736 lists all the equates and shows where to find
further information about each of them. By investigating those sections, you can discover
how to tune particular equates with the m4 technique. For example, the following
mc lines define the program used for local delivery to be mail.local:
FEATURE(`local_lmtp??)
define(`LOCAL_MAILER_PATH??, `/usr/local/bin/mail.local??)
MAILER(local)
Note that all modifications to equates must precede the corresponding MAILER( )
definition.
17.2.2.3 DOMAIN( ) m4 macro
For large sites it can be advantageous to gather into a single file all configuration
decisions that are common to the entire domain. The directory to hold domain information
files is called domain. The configuration information in those files is accessed
by using the DOMAIN( ) m4 technique. For example:
DOMAIN(`uofa.edu??)
* Although it can and probably should be followed by rule set declarations, as for example, LOCAL_
RULESET_0.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
592 | Chapter 17: Configure sendmail.cf with m4
This line in any of your mc files causes the file domain/uofa.edu.m4 to be included at
that point. Examples that come with the distribution illustrate subdomains under
Berkeley.
Pages:
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042