]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - mailstats/mailstats.0
Import sendmail 8.16.1
[FreeBSD/FreeBSD.git] / mailstats / mailstats.0
1 MAILSTATS(8)                                                      MAILSTATS(8)
2
3
4
5 \e[1mNAME\e[0m
6        mailstats - display mail statistics
7
8 \e[1mSYNOPSIS\e[0m
9        \e[1mmailstats \e[22m[\e[1m-c\e[22m] [\e[1m-o\e[22m] [\e[1m-p\e[22m] [\e[1m-P\e[22m] [\e[1m-C \e[4m\e[22mcffile\e[24m] [\e[1m-f \e[4m\e[22mstfile\e[24m]
10
11 \e[1mDESCRIPTION\e[0m
12        The \e[1mmailstats \e[22mutility displays the current mail statistics.
13
14        First, the time at which statistics started being kept is displayed, in
15        the format specified by ctime(3).  Then, the statistics for each mailer
16        are  displayed  on  a  single line, each with the following white space
17        separated fields:
18
19               \e[1mM           \e[22mThe mailer number.
20               \e[1mmsgsfr      \e[22mNumber of messages from the mailer.
21               \e[1mbytes_from  \e[22mKbytes from the mailer.
22               \e[1mmsgsto      \e[22mNumber of messages to the mailer.
23               \e[1mbytes_to    \e[22mKbytes to the mailer.
24               \e[1mmsgsrej     \e[22mNumber of messages rejected.
25               \e[1mmsgsdis     \e[22mNumber of messages discarded.
26               \e[1mmsgsqur     \e[22mNumber of messages quarantined.
27               \e[1mMailer      \e[22mThe name of the mailer.
28
29        After this display, a line totaling the values for all of  the  mailers
30        is  displayed  (preceded  with  a  ``T''),  separated from the previous
31        information by  a  line  containing  only  equals  (``='')  characters.
32        Another line preceded with a ``C'' lists the number of TCP connections.
33
34        The options are as follows:
35
36        \e[1m-C     \e[22mRead the specified file instead of the default \e[1msendmail \e[22mconfigu-
37               ration file.
38
39        \e[1m-c     \e[22mTry  to use submit.cf instead of the default \e[1msendmail \e[22mconfigura-
40               tion file.
41
42        \e[1m-f     \e[22mRead the specified statistics file  instead  of  the  statistics
43               file specified in the \e[1msendmail \e[22mconfiguration file.
44
45        \e[1m-P     \e[22mOutput  information  in  program-readable  mode without clearing
46               statistics.
47
48        \e[1m-p     \e[22mOutput information in program-readable mode  and  clear  statis-
49               tics.
50
51        \e[1m-o     \e[22mDon't display the name of the mailer in the output.
52
53        The \e[1mmailstats \e[22mutility exits 0 on success, and >0 if an error occurs.
54
55 \e[1mFILES\e[0m
56        /etc/mail/sendmail.cf    The default \e[1msendmail \e[22mconfiguration file.
57        /etc/mail/statistics     The default \e[1msendmail \e[22mstatistics file.
58
59 \e[1mSEE ALSO\e[0m
60        mailq(1), sendmail(8)
61
62
63
64                          $Date: 2013-11-22 20:51:51 $             MAILSTATS(8)