summaryrefslogtreecommitdiffstats
path: root/upstream/debian-unstable/man1/mailstat.1
blob: f13265aed87f3d484ac356e8e4238d3a654dbe7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
.TH MAILSTAT 1
.SH NAME
mailstat \- shows mail-arrival statistics
.SH SYNOPSIS
.B mailstat
[\-klmots] [logfile]
.SH DESCRIPTION
.B 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
.B -k
option is used.
Exit code 0 if mail arrived, 1 if no mail arrived.
.SH OPTIONS
.TP
.I \-k
keep logfile intact
.TP
.I \-l
long display format
.TP
.I \-m
merge any errors into one line
.TP
.I \-o
use the old logfile
.TP
.I \-t
terse display format
.TP
.I \-s
silent in case of no mail
.SH NOTES
Customise to your heart's content, this program is only provided as a
guideline.
.SH AUTHOR
This manual page was written by Santiago Vila <sanvila@debian.org>
for the Debian GNU/Linux distribution (but may be used by others).