confMSP_STFILE
Define MSP statistics file (V8.12.6 and later) Build macro
Beginning with V8.12.6 sendmail,
the confMSP_STFILE
Build macro may be used to
define a new name under which the statistics file
(StatusFile on page 1095) used
by the MSP (The submit.cf File on
page 66) invocation of sendmail
can be installed. It is used like this:
define(`confMSP_STFILE', `mspstats')
Here, a statistics file with the new name mspstats
will be
installed in the default directory /var/spool/clientmqueue
(unless you redefine the default directory using the
confMSP_QUEUE_DIR
[confMSP_QUEUE_DIR on page 91] Build macro).
The default name for this statistics file is
sm-client.st
.
Note that if you rename this MSP statistics file, you
will also have to redefine the StatusFile
option (StatusFile on page 1095) in the
submit.cf
file (The submit.cf File on page
66) to reflect the new name. The proper way to
modify that file is to first edit the cf/cf/submit.mc file in
the source distribution, and then to regenerate a
new submit.cf
file, as shown next.
# cd cf/cf ... edit the submit.mc file here # make install-submit-cf ... the submit.cf file is re-created and installed here
See also the mailstats program and its -c
command-line switch
(-c on page 367), which is
used to print the contents of this statistics
file.
Get sendmail, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.