summaryrefslogtreecommitdiff
path: root/debian/mailgraph.8
blob: 48f2dadc799167c5ffdb23be7ba8fea56cfbaa92 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
.TH MAILGRAPH 8
.SH NAME
mailgraph \- daemon which produces graphs of SMTP traffic
.SH SYNOPSIS
.B mailgraph
[
.I options
]
.SH DESCRIPTION
.ad
.fi
\fBmailgraph\fR is a daemon which produces mail statistics RRDtool
for Postfix and Sendmail. This stats are stored for generating
daily, weekly, monthly and yearly graphs of sent/received/rejected
and bounced/viruses/spam mails.
.SH OPTIONS
.IP "\fB-h, --help\fR"
Display help and exit.
.IP "\fB-v, --verbose\fR"
Be verbose about what you do.
.IP "\fB-V, --version\fR"
Output version information and exit.
.IP "\fB-c, --cat\fR"
Cause the logfile to be only read and not monitored.
.IP "\fB-l, --logfile \fIfile\fR"
 Monitor logfile \fIfile\fR instead of /var/log/syslog.
.IP "\fB-t, --logtype \fItype\fR"
Set logfile's \fItype\fR (default: syslog).
.IP "\fB-y, --year\fR"
Start year of the log file (default: current year).
.IP "\fB--host=\fIHOST\fR
Use only entries for \fIHOST\fR (regexp) in syslog.
.IP "\fB-d, --daemon\fR"
Start in the background
.IP "\fB--daemon-pid=\fIFILE\fR"
Write PID to \fIFILE\fR instead of /var/run/mailgraph.pid.
.IP "\fB--daemon-rrd=\fIDIR\fR"
Write RRDs to \fIDIR\fR instead of /var/lib/mailgraph/.
.IP "\fB--daemon-log=\fIFILE\fR"
Write verbose-log to \fIFILE\fR instead of /var/log/mailgraph.log.
.IP "\fB--ignore-localhost\fR"
Ignore mail to/from localhost (used for virus scanner).
.IP "\fB--ignore-host=\fIHOST\fR"
Ignore mail to/from \fIHOST\fR (used for virus scanner).
.IP "\fB--no-mail-rrd\fR"
Do not update the mail rrd.
.IP "\fB--no-virus-rrd\fR"
Do not update the virus rrd.
.IP "\fB--no-greylist-rrd\fR"
Do not update the greylist rrd.
.IP "\fB--rrd-name=\fINAME\fR"
Use \fINAME\fR.rrd, \fINAME\fR_virus.rrd and \fINAME\fR_greylist.rrd for the rrd files.
.IP "\fB--rbl-is-spam\fR"
Count rbl rejects as spam.
.IP "\fB--virbl-is-virus\fR"
Count virbl rejects as viruses.
.SH "SEE ALSO"
rrdtool(1), RRDs(3pm)
.SH AUTHOR
David Schweikert <dws@ee.ethz.ch>