30.3 m4 Configuration SyntaxUnder V8 sendmail 's m4 configuration technique you include delivery agent definitions in your configuration file with the MAILER() m4 command. The form for that command looks like this:
MAILER(` For example, SMTP and UUCP support can be included in your file by using the following two commands:
MAILER(`smtp') MAILER(`uucp')
The delivery agent
In general, the files in the
_CF_DIR_/mailer
directory should never be modified. If one
of the definitions needs to be tuned, use the special keywords
described under the individual equates (see
Section 30.4, "The Equates"
). For example, the following
modifies the maximum message size (the
define(`UUCP_MAX_SIZE',`1000000')dnl Here, the maximum size of a UUCP message has been increased from the default of 100,000 (one hundred thousand) bytes to a larger limit of 1,000,000 (one million) bytes. 30.3.1 Tuning Without an Appropriate Keyword
Unfortunately, not all equates can be tuned with m4 defines.
The
%
Here, the prototype definition for the
MAILER(usenet)dnl MAILER_DEFINITIONS Musenet, P=USENET_MAILER_PATH, F=USENET_MAILER_FLAGS, S=10, R=20,
First, the MAILER() m4 command causes
initial support for the Create a new configuration file, and run grep (1) to check the result:
% 30.3.2 Create a New m4 Delivery AgentFrom time to time you may need to create a brand-new delivery agent. To create a new delivery agent with the m4 system, first change to the cf/mailer directory. Copy an existing m4 file, one that is similar to your needs. Then edit that new file, and include it in your configuration file with
MAILER(newname)
Note that the MAILER m4 command automatically prefixes the name
with
_CF_DIR_/mailer/
(
_CF_DIR_
is described in
Section 19.2.1
)
and adds the suffix
.m4
, here forming
But be aware that creation of a new delivery agent is not for the
faint of heart. In addition to the delivery agent definition you
will also need to create brand new |
|