mailstats man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

mailstats(8)							  mailstats(8)

NAME
       mailstats - Displays statistics about mail traffic

SYNOPSIS
       mailstats [-o] [-C cffile[-f stfile]]

OPTIONS
       Do not display the name of the mailer in the output.  Use cffile as the
       name of the  sendmail  "cf"  file  instead  of  /var/adm/sendmail/send‐
       mail.cf.	   Use	 stfile	 as  the  input	 statistics  file  instead  of
       /var/adm/sendmail/sendmail.st.

DESCRIPTION
       The mailstats command  reads  the  information  in  the	/var/adm/send‐
       mail/sendmail.st	 file  (or  in the file specified with the -f option),
       formats it, and writes it to standard output. Note also	that  you  can
       change  the location of the sendmail.st file by editing its pathname in
       the sendmail.cf file.

EXAMPLES
       The format of the information is shown in  the  following  example,  in
       which the first field (M) contains a number that indicates the position
       of that mailer in the sendmail.cf file, starting at 0 (zero). For exam‐
       ple, the first mailer in the sendmail.cf file corresponds to the number
       0 in the mailstats display, the second mailer corresponds to the number
       1, and so on.

       Statistics  from	 Thu  Feb  17  11:20:01	 2000  M    msgsfr  bytes_from
       msgsto	 bytes_to  msgsrej  msgsdis   Mailer  1	       50	   77K
       1	   3K	     0	     0	 local 6       43	  59K	    58
       99K			0		      0			  smtp
       ============================================================ T	    93
       136K	  59	    102K	0	0

       The fields in the report have the  following  meanings:	Indicates  the
       position	 of  the mailer in the sendmail.cf file.  Indicates the number
       of messages received by the local machine from  the  indicated  mailer.
       Indicates  the  number  of  bytes in the messages received by the local
       machine from the indicated mailer.  Indicates the  number  of  messages
       sent  from the local machine using the indicated mailer.	 Indicates the
       number of bytes in the messages sent from the local machine  using  the
       indicated  mailer.   Indicates  the number of rejected messages.	 Indi‐
       cates the number of discarded messages.	 Indicates  the	 name  of  the
       mailer.

       If  sendmail transmits mail directly to a file, such as the dead.letter
       file or an alias target, the message and byte counts  are  credited  to
       the  prog  mailer,  as defined in the sendmail.cf file.	However, mail‐
       stats will still default to var/adm/sendmail/sendmail.st.

FILES
       Specifies the command path Contains system statistics Contains configu‐
       ration information for sendmail

SEE ALSO
       Commands: sendmail(8)

								  mailstats(8)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net