Prev | Current Page 654 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

It scans the configuration file looking for a line that begins with one of the
following two expressions:
O StatusFile=
OS
The location of the configuration file is defined at compile time with _PATH_
SENDMAILCF (?§3.4.40 on page 131). If you wishto use a different configuration file, you
can do so by specifying it with this -C command-line switch:
% mailstats -C /etc/mail/sendmail.cf.new
10.4.4.3 -f
Specify another name for the statistics file mailstats command-line switch
Ordinarily, mailstats gathers the path to, and the name for, its statistics file from the sendmail
configuration file. There will be times, however, when you will need to print statistics
from information in another statistics file. Consider, for example, the desire to archive
statistics files weekly for several years running. In such a scenario, you might run the
following command to look at a statistics file from another month:
% mailstats -f /export/mail/archives/statsV3/2007/Dec/stat.25
But be aware that sendmail periodically updates the version of the statistics file. If you use
the current version of mailstats to read an older version??™s statistics file, you will get an error
something like this:
% mailstats -f /etc/sendmail.st
mailstats version (3) incompatible with /etc/sendmail.st version (2)
If you archive statistics files, you should also archive versions of mailstats withwh ichto
read them.


Pages:
642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666
pustaki szklane House Extension Kąty Rybackie noclegi kasyno Kołobrzeg