cf file and the submit.cf file. But it is possible to configure
sendmail so that it uses a different statistics file with each configuration file. In that case,
you can use this -c command-line switchto specify use of the submit.cf file, and its corresponding
statistics file:
% mailstats -c ?†? use submit.cf to locate the statistics file
If you are not set up to use MSP, use of this switch might yield the following error:
mailstats: /etc/mail/submit.cf: No such file or directory
Table 10-5. The mailstats program??™s switches
Switch ?§ Description
-c ?§10.4.4.1 on page 367 Use submit.cf instead.
-C ?§10.4.4.2 on page 368 Specify the configuration file??™s location.
-f ?§10.4.4.3 on page 368 Specify another name for the statistics file.
-o ?§10.4.4.4 on page 368 Omit the delivery agent names.
-p ?§10.4.4.5 on page 369 Produce program-friendly output and clear the statistics file.
-P ?§10.4.4.6 on page 370 Produce program-friendly output and don??™t clear the statistics file.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
368 | Chapter 10: Build and Use Companion Programs
10.4.4.2 -C
Specify the configuration file??™s location mailstats command-line switch
The mailstats program reads the sendmail program??™s configuration file to locate the statistics
file.
Pages:
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665