.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