Prev | Current Page 649 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

V8.12 sendmail
provides configuration files that specify /path as:
/etc/mail/statistics
Just declaring the StatusFile option is not enough, however, for if the file does not
exist (or is unwritable), sendmail silently ignores that file and does not save statistics.
To avoid this behavior, sendmail creates an empty file during installation:
% touch /etc/mail/statistics
Note that the gathering of statistics can be turned off merely by renaming or removing
the file.
10.4.2 Viewing Statistics: mailstats
The mailstats program is supplied withth e sendmail source distribution to provide a
convenient way to print the contents of the statistics file. The output of the mailstats
program varies depending on the version of sendmail installed. For V8.14 sendmail
the output looks like this:
Statistics from Mon Jan 14 10:56:15 2002
M msgsfr bytes_from msgsto bytes_to msgsrej msgsdis msgsqur Mailer
0 0 0K 4063 25765K 0 0 0 prog
3 267 336K 0 0K 0 0 0 local
5 4120 6188K 142 1652K 672 0 0 esmtp
=============================================================
T 4387 6524K 4205 27417K 672 0 0
C 4387 4205 672
The first line shows when the statistics file was begun. The lines that follow show the
number of messages and the total size, in kilobytes, of those messages, both received
(msgsfr and bytes_from) and sent (msgsto and bytes_to) for eachdelivery agent.


Pages:
637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661
śmieszne dowcipy Jaki wybrać olej dakolen Connie Talbot dieta light