Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

mailstat (1)

Name

mailstat - arrival statistics

Synopsis

mailstat [-klmots] [logfile]

Description

MAILSTAT(1)                 General Commands Manual                MAILSTAT(1)



NAME
       mailstat - shows mail-arrival statistics

SYNOPSIS
       mailstat [-klmots] [logfile]

DESCRIPTION
       mailstat  parses  a  procmail-generated $LOGFILE and displays a summary
       about the messages delivered to all folders (total size, average  size,
       nr  of messages).  The $LOGFILE is truncated to zero length, unless the
       -k option is used.  Exit code 0 if mail arrived, 1 if no mail arrived.

OPTIONS
       -k     keep logfile intact

       -l     long display format

       -m     merge any errors into one line

       -o     use the old logfile

       -t     terse display format

       -s     silent in case of no mail


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | mail/procmail    |
       +---------------+------------------+
       |Stability      | Uncommitted      |
       +---------------+------------------+

NOTES
       Customise to your heart's content, this program is only provided  as  a
       guideline.

       Source  code  for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source  was downloaded from  ftp://ftp.fu-berlin.de/pub/unix/mail/proc-
       mail/procmail-3.22.tar.gz.

       Further information about this software can be found on the open source
       community website at http://www.procmail.org.

AUTHOR
       This  manual page was written by Santiago Vila <sanvila@debian.org> for
       the Debian GNU/Linux distribution (but may be used by others).




                                                                   MAILSTAT(1)