Finally, we add $u (withth e DOL macro) to cause the list of recipients to be
passed in the command line.
See ?§10.3.2 on page 360 for a description of how to install mail.local for use withth e
preferred LMTP mode.
10.3.3.8 -r
Specify the envelope sender (deprecated) mail.local command-line switch
The -r command-line switchis a synonym for the -f command-line switchdescribed
earlier (?§10.3.3.5 on page 363). This switch is deprecated and might be removed from
future versions of mail.local.
10.4 The mailstats Program
The sendmail program provides the ability to gather information that can be used to
produce valuable statistics. As you will see, the StatusFile option (?§24.9.116 on
page 1095) is used to specify a file into which delivery agent statistics can be saved.
The mailstats(1) program prints a summary of those statistics.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
10.4 The mailstats Program | 365
10.4.1 The statistics File
The sendmail program can maintain an ongoing record of the total number and total
sizes of all outgoing and incoming mail messages handled by each delivery agent.
This ability is enabled by defining STATUS_FILE in your m4 build file:
define(`STATUS_FILE??,`/path??)
The /path is the full pathname of the file into which statistics are saved.
Pages:
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660