*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> mailstats (8)              
Title
Content
Arch
Section
 

MAILSTATS(1)

Contents


NAME    [Toc]    [Back]

     mailstats - display mail statistics

SYNOPSIS    [Toc]    [Back]

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

DESCRIPTION    [Toc]    [Back]

     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
whitespace 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 configuration
 file.

     -c      Try to use submit.cf instead of the default sendmail
configuration
 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  and
clear statistics.

     -P       Output information in program-readable mode without
clearing
             statistics.

     -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.

FILES    [Toc]    [Back]

     /etc/mail/sendmail.cf   The default sendmail ``cf'' file.
     /var/log/sendmail.st     The  default  sendmail   statistics
file.

SEE ALSO    [Toc]    [Back]

      
      
     mailq(8), sendmail(8)

OpenBSD      3.6                       September     26,     2002
[ Back ]
 Similar pages
Name OS Title
eximstats Linux exim mail statistics
mailstats HP-UX print mail traffic statistics
mailstats Tru64 Displays statistics about mail traffic
praliases FreeBSD display system mail aliases
praliases Tru64 display system mail aliases
praliases OpenBSD display system mail aliases
praliases IRIX display system mail aliases
nfsstat FreeBSD display NFS statistics
nfsstat OpenBSD display NFS statistics
ipxstat IRIX display IPX statistics
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service