FreeBSD 7.0 manual page repository

FreeBSD is a free computer operating system based on BSD UNIX originally. Many IT companies, like DeployIS is using it to provide an up-to-date, stable operating system.

mailstats - display mail statistics



        mailstats - display mail statistics


        mailstats [-c] [-o] [-p] [-P] [-C cffile] [-f stfile]


        The mailstats utility displays the current mail statistics.
        First, the time at which statistics started being kept is displayed, in
        the format specified by ctime(3).  Then, the statistics for each mailer
        are  displayed  on  a  single line, each with the following white space
        separated fields:
               M           The mailer number.
               msgsfr      Number of messages from the mailer.
               bytes_from  Kbytes from the mailer.
               msgsto      Number of messages to the mailer.
               bytes_to    Kbytes to the mailer.
               msgsrej     Number of messages rejected.
               msgsdis     Number of messages discarded.
               msgsqur     Number of messages quarantined.
               Mailer      The name of the mailer.
        After this display, a line totaling the values for all of  the  mailers
        is  displayed  (preceded  with  a  ‘‘T’’),  separated from the previous
        information by  a  line  containing  only  equals  (‘‘=’’)  characters.
        Another line preceded with a ‘‘C’’ lists the number of TCP connections.
        The options are as follows:
        -C     Read the specified file instead of the default sendmail configu‐
               ration file.
        -c     Try  to use instead of the default sendmail configura‐
               tion file.
        -f     Read the specified statistics file  instead  of  the  statistics
               file specified in the sendmail configuration file.
        -P     Output  information  in  program-readable  mode without clearing
        -p     Output information in program-readable mode  and  clear  statis‐
        -o     Don’t display the name of the mailer in the output.
        The mailstats utility exits 0 on success, and >0 if an error occurs.


        /etc/mail/    The default sendmail configuration file.
        /etc/mail/statistics     The default sendmail statistics file.
        mailq(1), sendmail(8)
                          $Date: 2002/06/27 22:47:29 $             MAILSTATS(8)


Based on BSD UNIX
FreeBSD is an advanced operating system for x86 compatible (including Pentium and Athlon), amd64 compatible (including Opteron, Athlon64, and EM64T), UltraSPARC, IA-64, PC-98 and ARM architectures. It is derived from BSD, the version of UNIX developed at the University of California, Berkeley. It is developed and maintained by a large team of individuals. Additional platforms are in various stages of development.