MAILSTATSection: User Commands (1)
Index | Return to Main Contents
NAMEmailstat - shows mail-arrival statistics
SYNOPSISmailstat [-klmots] [logfile]
DESCRIPTIONmailstat 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.
- keep logfile intact
- long display format
- merge any errors into one line
- use the old logfile
- terse display format
- silent in case of no mail
NOTESCustomise to your heart's content, this program is only provided as a guideline.
AUTHORThis manual page was written by Santiago Vila <firstname.lastname@example.org> for the Debian GNU/Linux distribution (but may be used by others).
Return to Main Contents