| 1 |
.TH MAILSTAT 1 |
| 2 |
.SH NAME |
| 3 |
mailstat \- shows mail-arrival statistics |
| 4 |
.SH SYNOPSIS |
| 5 |
.B mailstat |
| 6 |
[\-klmots] [logfile] |
| 7 |
.SH DESCRIPTION |
| 8 |
.B mailstat |
| 9 |
parses a procmail-generated $LOGFILE and displays |
| 10 |
a summary about the messages delivered to all folders |
| 11 |
(total size, average size, nr of messages). |
| 12 |
The $LOGFILE is truncated to zero length, unless the |
| 13 |
.B -k |
| 14 |
option is used. |
| 15 |
Exit code 0 if mail arrived, 1 if no mail arrived. |
| 16 |
.SH OPTIONS |
| 17 |
.TP |
| 18 |
.I \-k |
| 19 |
keep logfile intact |
| 20 |
.TP |
| 21 |
.I \-l |
| 22 |
long display format |
| 23 |
.TP |
| 24 |
.I \-m |
| 25 |
merge any errors into one line |
| 26 |
.TP |
| 27 |
.I \-o |
| 28 |
use the old logfile |
| 29 |
.TP |
| 30 |
.I \-t |
| 31 |
terse display format |
| 32 |
.TP |
| 33 |
.I \-s |
| 34 |
silent in case of no mail |
| 35 |
.SH NOTES |
| 36 |
Customise to your heart's content, this program is only provided as a |
| 37 |
guideline. |
| 38 |
.SH AUTHOR |
| 39 |
This manual page was written by Santiago Vila <[email protected]> |
| 40 |
for the Debian GNU/Linux distribution (but may be used by others). |