summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Valroff <julien@kirya.net>2010-01-04 20:43:33 +0100
committerJulien Valroff <julien@kirya.net>2010-01-04 20:43:33 +0100
commit6f39889094a1cbcf9ad2c8faa7e245803ded2331 (patch)
tree0c8c1716737f4238e77520eaba2e54688489fdbe
parent541130f49d1dcafc32a14d99b5c33ebd527f22f4 (diff)
Add manpage, thanks to Gregory Colpart <reg@evolix.fr>
(Closes: #462294)
-rw-r--r--debian/mailgraph.858
-rw-r--r--debian/manpages1
2 files changed, 59 insertions, 0 deletions
diff --git a/debian/mailgraph.8 b/debian/mailgraph.8
new file mode 100644
index 0000000..e47818d
--- /dev/null
+++ b/debian/mailgraph.8
@@ -0,0 +1,58 @@
+.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/log.
+.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--only-mail-rrd\fR"
+Update only the mail rrd.
+.IP "\fB--only-virus-rrd\fR"
+Update only the virus rrd.
+.IP "\fB--rrd-name=\fINAME\fR"
+Use \fINAME\fR.rrd and \fINAME\fR_virus.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>
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..ab624e5
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1 @@
+debian/mailgraph.8