Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2004 15:23:55 +0100 (CET)
From:      Jan-Peter Koopmann <j.koopmann@seceidos.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        rdr@xs4all.nl
Subject:   ports/63390: [NEW PORT] mail/mailscanner-mrtg: mailscanner-mrtg allows mrtg to monitor many aspects of your MailScanner machine.
Message-ID:  <200402261423.i1QENtMt027301@services.intern.seceidos.de>
Resent-Message-ID: <200402261430.i1QEUE2g068722@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         63390
>Category:       ports
>Synopsis:       [NEW PORT] mail/mailscanner-mrtg: mailscanner-mrtg allows mrtg to monitor many aspects of your MailScanner machine.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 26 06:30:14 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Jan-Peter Koopmann
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD services.intern.seceidos.de 4.9-STABLE FreeBSD 4.9-STABLE #0: Mon Jan  5 10:56:46 CET
>Description:
mailscanner-mrtg provides configuration files, web pages and related perl 
scripts for mrtg to monitor your MailScanner (http://www.mailscanner.info/) 
machine.

Author:	Kevin Spicer kevin@kevinspicer.co.uk
WWW:	http://mailscannermrtg.sourceforge.net/

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- mailscanner-mrtg-0.08.01.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	mailscanner-mrtg
#	mailscanner-mrtg/pkg-descr
#	mailscanner-mrtg/Makefile
#	mailscanner-mrtg/pkg-plist
#	mailscanner-mrtg/distinfo
#	mailscanner-mrtg/files
#	mailscanner-mrtg/files/patch-mailscanner-mrtg.conf
#	mailscanner-mrtg/files/mailscanner-mrtg.8
#	mailscanner-mrtg/pkg-message
#
echo c - mailscanner-mrtg
mkdir -p mailscanner-mrtg > /dev/null 2>&1
echo x - mailscanner-mrtg/pkg-descr
sed 's/^X//' >mailscanner-mrtg/pkg-descr << 'END-of-mailscanner-mrtg/pkg-descr'
Xmailscanner-mrtg provides configuration files, web pages and related perl 
Xscripts for mrtg to monitor your MailScanner (http://www.mailscanner.info/) 
Xmachine.
X
XAuthor:	Kevin Spicer kevin@kevinspicer.co.uk
XWWW:	http://mailscannermrtg.sourceforge.net/
END-of-mailscanner-mrtg/pkg-descr
echo x - mailscanner-mrtg/Makefile
sed 's/^X//' >mailscanner-mrtg/Makefile << 'END-of-mailscanner-mrtg/Makefile'
X# New ports collection makefile for:	mailscanner-mrtg
X# Date created:		2004-01-27
X# Whom:			services-root <root@services.intern.seceidos.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mailscanner-mrtg
XPORTVERSION=	0.08.01
XCATEGORIES=	mail
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	mailscannermrtg
XDISTNAME=	mailscanner-mrtg-${PORTVERSION}
X
XMAINTAINER=	j.koopmann@seceidos.de
XCOMMENT=	mailscanner-mrtg allows mrtg to monitor many aspects of your MailScanner machine.
X
XRUN_DEPENDS=	${LOCALBASE}/bin/mrtg:${PORTSDIR}/net/mrtg \
X		${LOCALBASE}/lib/MailScanner/MailScanner.pm:${PORTSDIR}/mail/mailscanner
X
XUSE_PERL5=	yes
XUSE_APACHE=	yes
X
XPKGMESSAGE=	${WRKDIR}/pkg-message
X
XWWWBASE=	${PREFIX}/www
X
XMAN8=		mailscanner-mrtg.8
X
X.include <bsd.port.pre.mk>
X
XWWWFILES=	mailscanner-mrtg.conf \
X		mailscanner-mrtg.cfg
XETCFILES=	${WWWFILES}
X
Xdo-build:
X.for FILE in ${WWWFILES}
X	${PERL} -pi -e \
X	's,/var/www/html,${WWWBASE},g; \
X	s,/usr/sbin/mailscanner-mrtg,${PREFIX}/sbin/mailscanner-mrtg,g;' \
X	${WRKSRC}/${FILE}
X.endfor
X
X	${PERL} -pi -e \
X	's,/usr/bin/snmpwalk,${LOCALBASE}/bin/snmpwalk,g; \
X	s,/etc/rc.d/init.d/MailScanner,${LOCALBASE}/etc/rc.d/mailscanner.sh,g;' \
X	${WRKSRC}/mailscanner-mrtg.conf
X
X	${PERL} -pi -e \
X	's,/usr/lib/MailScanner-MRTG,${PREFIX}/lib/MailScanner-MRTG,g; \
X	s,/etc/MailScanner/mailscanner-mrtg.conf,${PREFIX}/etc/mailscanner-mrtg/mailscanner-mrtg.conf,g;' \
X	${WRKSRC}/mailscanner-mrtg
X
Xdo-install:
X	#
X	# Step 1: Install lib
X	#
X	${MKDIR} ${PREFIX}/lib/MailScanner-MRTG/MSMRTG
X	${CHMOD} -R ${BINMODE} ${PREFIX}/lib/MailScanner-MRTG/MSMRTG
X	cd ${WRKSRC}/lib/MSMRTG && ${FIND} * -name "*.pm" -exec \
X		${INSTALL_SCRIPT} {} ${PREFIX}/lib/MailScanner-MRTG/MSMRTG \;
X
X	#
X	# Step 2: Install etc files
X	#
X	${MKDIR} ${PREFIX}/etc/mailscanner-mrtg
X	${CHMOD} ${BINMODE} ${PREFIX}/etc/mailscanner-mrtg
X.for FILE in ${ETCFILES}
X	${INSTALL_DATA} ${WRKSRC}/${FILE} ${PREFIX}/etc/mailscanner-mrtg/${FILE}.sample
X.endfor
X
X	#
X	# Step 3: Install binaries
X	#
X	${MKDIR} ${PREFIX}/sbin
X	${INSTALL_SCRIPT} ${WRKSRC}/mailscanner-mrtg ${PREFIX}/sbin
X
X	#
X	# Step 4: Install Documentation & Manpages
X	#
X	${INSTALL_MAN} ${FILESDIR}/${MAN8} ${MAN8PREFIX}/man/man8
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
X.endif
X
X	#
X	# Step 5: Install Web Environment
X	#
X	${MKDIR} ${WWWBASE}/mailscanner-mrtg
X	${INSTALL_DATA} ${WRKSRC}/web/* ${WWWBASE}/mailscanner-mrtg
X
X	#
X	# Step 6: Show further instructions
X	#
X	@${PERL} -pi -e \
X	's,%%PREFIX%%,${PREFIX},g; \
X	s,%%LOCALBASE%%,${LOCALBASE},g; \
X	s,%%WWWBASE%%,${WWWBASE},g; \
X	s,%%PORTSDIR%%,${PORTSDIR},g;' \
X	< pkg-message > ${PKGMESSAGE}
X
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
END-of-mailscanner-mrtg/Makefile
echo x - mailscanner-mrtg/pkg-plist
sed 's/^X//' >mailscanner-mrtg/pkg-plist << 'END-of-mailscanner-mrtg/pkg-plist'
X@comment $FreeBSD$
Xetc/mailscanner-mrtg/mailscanner-mrtg.cfg.sample
Xetc/mailscanner-mrtg/mailscanner-mrtg.conf.sample
Xlib/MailScanner-MRTG/MSMRTG/Config.pm
Xlib/MailScanner-MRTG/MSMRTG/Data.pm
Xlib/MailScanner-MRTG/MSMRTG/Debug.pm
Xlib/MailScanner-MRTG/MSMRTG/Scale.pm
Xlib/MailScanner-MRTG/MSMRTG/State.pm
Xsbin/mailscanner-mrtg
X%%PORTDOCS%%%%DOCSDIR%%/BUGS
X%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
X%%PORTDOCS%%%%DOCSDIR%%/COPYING
X%%PORTDOCS%%%%DOCSDIR%%/INSTALL-TARGZ
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/README.SNMP
X%%PORTDOCS%%%%DOCSDIR%%/TODO
Xwww/mailscanner-mrtg/index.html
Xwww/mailscanner-mrtg/mailscanner-mrtg.jpg
X@dirrm www/mailscanner-mrtg
X@dirrm www
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X@dirrm lib/MailScanner-MRTG/MSMRTG
X@dirrm lib/MailScanner-MRTG
X@dirrm etc/mailscanner-mrtg
END-of-mailscanner-mrtg/pkg-plist
echo x - mailscanner-mrtg/distinfo
sed 's/^X//' >mailscanner-mrtg/distinfo << 'END-of-mailscanner-mrtg/distinfo'
XMD5 (mailscanner-mrtg-0.08.01.tar.gz) = f95912a933bafb796db610341219a675
XSIZE (mailscanner-mrtg-0.08.01.tar.gz) = 54613
END-of-mailscanner-mrtg/distinfo
echo c - mailscanner-mrtg/files
mkdir -p mailscanner-mrtg/files > /dev/null 2>&1
echo x - mailscanner-mrtg/files/patch-mailscanner-mrtg.conf
sed 's/^X//' >mailscanner-mrtg/files/patch-mailscanner-mrtg.conf << 'END-of-mailscanner-mrtg/files/patch-mailscanner-mrtg.conf'
X--- ../mailscanner-mrtg-0.07.02.orig/mailscanner-mrtg.conf	Tue Jan 27 15:11:25 2004
X+++ mailscanner-mrtg.conf	Tue Jan 27 15:32:41 2004
X@@ -30,20 +30,20 @@
X 
X # MTA Incoming Log: where incoming mail is logged by MTA
X #MTA Incoming Log = /var/log/mail/info # Mandrake with sendmail (& postfix?)
X-#MTA Incoming Log = /var/spool/exim/log/mainlog # Red Hat with exim
X-MTA Incoming Log = /var/log/maillog # Red Hat with sendmail (& postfix?)
X+#MTA Incoming Log = /var/log/exim.in/mainlog # exim
X+MTA Incoming Log = /var/log/maillog # sendmail (& postfix?)
X 
X # MTA Outgoing Log: where outgoing mail is logged by MTA
X #MTA Outgoing Log = /var/log/mail/info # Mandrake with sendmail (& postfix?)
X-#MTA Outgoing Log = /var/spool/exim/log/mainlog # Red Hat with exim
X-MTA Outgoing Log = /var/log/maillog # Red Hat with sendmail (& postfix?)
X+#MTA Outgoing Log = /var/log/exim.out/mainlog # exim
X+MTA Outgoing Log = /var/log/maillog # sendmail (& postfix?)
X 
X # MTA Reject Log: where rejected mail is logged by MTA (spam)
X #     NB. This is mainly for exim users.  If you don't have a seperate
X #     reject log you should set this to be the same as MTA Incoming Log
X #MTA Reject Log = /var/log/mail/info # Mandrake with sendmail (& postfix?)
X-#MTA Reject Log = /var/spool/exim/log/mainlog # Red Hat with exim
X-MTA Reject Log = /var/log/maillog # Red Hat with sendmail (& postfix?)
X+#MTA Reject Log = /var/log/exim.in/rejectlog # exim
X+MTA Reject Log = /var/log/maillog # sendmail (& postfix?)
X 
X # Where the MTA puts mail before MailScanner gets it
X #Incoming Queue Dir = /var/spool/postfix.in/deferred/ # Postfix
X@@ -65,7 +65,7 @@
X # This is where your logged spam and virii goes. You MUST have 
X # "Log Spam = yes" in your MailScanner.conf file for us to graph spam. 
X #MailScanner Log = /var/log/mail/info # Mandrake
X-MailScanner Log = /var/log/maillog # Red Hat
X+MailScanner Log = /var/log/maillog 
X 
X 
X # Where MailScanner puts your mail after it is scanned
X@@ -109,7 +109,7 @@
X Snmpwalk Binary = /usr/bin/snmpwalk
X 
X # Which interfaces to monitor (comma separated list)
X-Interfaces to Monitor = eth0
X+Interfaces to Monitor = fxp0
X 
X # --------------
X # RATIO SETTINGS
END-of-mailscanner-mrtg/files/patch-mailscanner-mrtg.conf
echo x - mailscanner-mrtg/files/mailscanner-mrtg.8
sed 's/^X//' >mailscanner-mrtg/files/mailscanner-mrtg.8 << 'END-of-mailscanner-mrtg/files/mailscanner-mrtg.8'
X.\" Automatically generated by Pod::Man v1.34, Pod::Parser v1.14
X.\"
X.\" Standard preamble:
X.\" ========================================================================
X.de Sh \" Subsection heading
X.br
X.if t .Sp
X.ne 5
X.PP
X\fB\\$1\fR
X.PP
X..
X.de Sp \" Vertical space (when we can't use .PP)
X.if t .sp .5v
X.if n .sp
X..
X.de Vb \" Begin verbatim text
X.ft CW
X.nf
X.ne \\$1
X..
X.de Ve \" End verbatim text
X.ft R
X.fi
X..
X.\" Set up some character translations and predefined strings.  \*(-- will
X.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
X.\" double quote, and \*(R" will give a right double quote.  | will give a
X.\" real vertical bar.  \*(C+ will give a nicer C++.  Capital omega is used to
X.\" do unbreakable dashes and therefore won't be available.  \*(C` and \*(C'
X.\" expand to `' in nroff, nothing in troff, for use with C<>.
X.tr \(*W-|\(bv\*(Tr
X.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
X.ie n \{\
X.    ds -- \(*W-
X.    ds PI pi
X.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
X.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
X.    ds L" ""
X.    ds R" ""
X.    ds C` ""
X.    ds C' ""
X'br\}
X.el\{\
X.    ds -- \|\(em\|
X.    ds PI \(*p
X.    ds L" ``
X.    ds R" ''
X'br\}
X.\"
X.\" If the F register is turned on, we'll generate index entries on stderr for
X.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index
X.\" entries marked with X<> in POD.  Of course, you'll have to process the
X.\" output yourself in some meaningful fashion.
X.if \nF \{\
X.    de IX
X.    tm Index:\\$1\t\\n%\t"\\$2"
X..
X.    nr % 0
X.    rr F
X.\}
X.\"
X.\" For nroff, turn off justification.  Always turn off hyphenation; it makes
X.\" way too many mistakes in technical documents.
X.hy 0
X.if n .na
X.\"
X.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
X.\" Fear.  Run.  Save yourself.  No user-serviceable parts.
X.    \" fudge factors for nroff and troff
X.if n \{\
X.    ds #H 0
X.    ds #V .8m
X.    ds #F .3m
X.    ds #[ \f1
X.    ds #] \fP
X.\}
X.if t \{\
X.    ds #H ((1u-(\\\\n(.fu%2u))*.13m)
X.    ds #V .6m
X.    ds #F 0
X.    ds #[ \&
X.    ds #] \&
X.\}
X.    \" simple accents for nroff and troff
X.if n \{\
X.    ds ' \&
X.    ds ` \&
X.    ds ^ \&
X.    ds , \&
X.    ds ~ ~
X.    ds /
X.\}
X.if t \{\
X.    ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
X.    ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
X.    ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
X.    ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
X.    ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
X.    ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
X.\}
X.    \" troff and (daisy-wheel) nroff accents
X.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
X.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
X.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
X.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
X.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
X.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
X.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
X.ds ae a\h'-(\w'a'u*4/10)'e
X.ds Ae A\h'-(\w'A'u*4/10)'E
X.    \" corrections for vroff
X.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
X.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
X.    \" for low resolution devices (crt and lpr)
X.if \n(.H>23 .if \n(.V>19 \
X\{\
X.    ds : e
X.    ds 8 ss
X.    ds o a
X.    ds d- d\h'-1'\(ga
X.    ds D- D\h'-1'\(hy
X.    ds th \o'bp'
X.    ds Th \o'LP'
X.    ds ae ae
X.    ds Ae AE
X.\}
X.rm #[ #] #H #V #F C
X.\" ========================================================================
X.\"
X.IX Title "MAILSCANNER-MRTG 1"
X.TH MAILSCANNER-MRTG 1 "2004-02-05" "perl v5.8.0" "User Contributed Perl Documentation"
X.SH "SYNOPSIS"
X.IX Header "SYNOPSIS"
Xmailscanner-mrtg \fIswitches\fR \fIoption\fR
X.SH "DESCRIPTION"
X.IX Header "DESCRIPTION"
XMailScanner-MRTG provides configuration files, web pages and related perl scripts for mrtg to monitor many aspects of your MailScanner machine.  
X.PP
XMost users will interact with MailScanner-MRTG through the web interface by pointing their browser of choice at...
X.PP
Xhttp://<thismachine>/mailscanner\-mrtg/
X.PP
Xmailscanner-mrtg is the main perl 'worker' script which is called by mrtg to obtain the data for each category.  It will not normally be necessary for the user to call this script manually, however this may prove useful for debugging purposes.  It should be noted that this script is designed to extract all data once every five minutes \- subsequent calls within a five minute window will return cached data.
X.PP
XThe behaviour of MailScanner-MRTG can be customised by editing the main configuration file (mailscanner\-mrtg.conf) which can be found in the MailScanner configuration directory.  Hardcore \s-1MRTG\s0 fans might also like to play with the \s-1MRTG\s0 configuration in mailscannner.cfg, which can be found in the mrtg configuration directory.
X.SH "ARGUMENTS"
X.IX Header "ARGUMENTS"
X\&\fIswitches\fR should be any of the following...
X.IP "\-d, \-\-debug" 4
X.IX Item "-d, --debug"
XPrint extensive debugging output to stderr
X.PP
X\&\fIoption\fR should be one of the following...
X.IP "loadavg" 4
X.IX Item "loadavg"
XReturns the load average over the last five minutes
X.IP "cpu" 4
X.IX Item "cpu"
XReturns the cpu utiliization percentage
X.IP "memory" 4
X.IX Item "memory"
XReturns the average amount of ram is use during the last five minutes
X.IP "iptraffic" 4
X.IX Item "iptraffic"
XReturns the amount of ip traffic on the interfaces listed in the config file
X.IP "inqueue" 4
X.IX Item "inqueue"
XReturns the number of files in the incoming mail queue
X.IP "outqueue" 4
X.IX Item "outqueue"
XReturns the number of files in the outgoing mail queue
X.IP "outqueue" 4
X.IX Item "outqueue"
XReturns the number of files in quarantine
X.IP "rootusage" 4
X.IX Item "rootusage"
XReturns the percentage of free space in the root filesystem
X.IP "spoolusage" 4
X.IX Item "spoolusage"
XReturns the percent of disk space available in the spool filesystem
X.IP "tmpfsusage" 4
X.IX Item "tmpfsusage"
XReturns the percentage of free space in the MailScanner work filesystem (useful if this is in tmpfs)
X.IP "mailscanner" 4
X.IX Item "mailscanner"
XReturns the number of copies of mailscanner running
X.IP "mta" 4
X.IX Item "mta"
XReturns the number of \s-1MTA\s0 processes running
X.IP "mail" 4
X.IX Item "mail"
XReturns the amount of mail relayed today
X.IP "mailbytes" 4
X.IX Item "mailbytes"
XReturns the bytes of mail relayed today
X.IP "virus" 4
X.IX Item "virus"
XReturns the number of viruses detected today
X.IP "spam" 4
X.IX Item "spam"
XReturns the number of mails identified as spam today
X.IP "virusratio" 4
X.IX Item "virusratio"
XReturns the percentage of mail detected as infected \- normally this is over the previous five minute period, unless \fIRatios are Daily\fR is set to yes in the configuration file.  Note that some infected mails trigger more than one check, in which case this figure is likely overstate the infection level (since it is actually number of tests triggered against the number of mails)
X.IP "spamratio" 4
X.IX Item "spamratio"
XReturns the percentage of mails identified as spam \- normally this is over the previous five minute period, unless \fIRatios are Daily\fR is set to yes in the configuration file.
X.SH "AUTHORS"
X.IX Header "AUTHORS"
XMailScanner-MRTG originally by Dale Lovelace <dlovelace@hotels.com>
X.PP
XExtensively revised and restructured by Kevin Spicer <kevin@kevinspicer.co.uk>
X.PP
XWith contributions from many others, please see the changelog.
X.SH "BUGS"
X.IX Header "BUGS"
X(aka features!)
X.PP
Xspoolusage and tmpfsusage may return zero values if the configured paths do not correspond to a mount point.  This is deliberate, since indicating the space available on the underlying filesystem may be misleading.
X.PP
Xcpu, memory and iptraffic will return zero values if UCD-SNMP or NET-SNMP are not installed, or are disabled in the configuration file.
XCurrently blank graphs will still be shown on the web interface.
X.SH "SEE ALSO"
X.IX Header "SEE ALSO"
XMailScanner mrtg 
X.SH "COPYRIGHT"
X.IX Header "COPYRIGHT"
XCopyright (C) 2002\-3 Dale Lovelace >dlovelace@hotels.com<
XCopyright (C) 2003\-4 Kevin Spicer >kevin@kevinspicer.co.uk<
XAll other contributions copyright of their respective authors (see the \s-1CHANGELOG\s0 and comments in the code for details).
X.PP
XThis program is free software; you can redistribute it and/or modify
Xit under the terms of the \s-1GNU\s0 General Public License as published by
Xthe Free Software Foundation; either version 2 of the License, or
X(at your option) any later version.
X.PP
XThis program is distributed in the hope that it will be useful,
Xbut \s-1WITHOUT\s0 \s-1ANY\s0 \s-1WARRANTY\s0; without even the implied warranty of
X\&\s-1MERCHANTABILITY\s0 or \s-1FITNESS\s0 \s-1FOR\s0 A \s-1PARTICULAR\s0 \s-1PURPOSE\s0.  See the
X\&\s-1GNU\s0 General Public License for more details.
X.PP
XYou should have received a copy of the \s-1GNU\s0 General Public License
Xalong with this program; if not, write to the Free Software
XFoundation, Inc., 59 Temple Place, Suite 330, Boston, \s-1MA\s0  02111\-1307  \s-1USA\s0
END-of-mailscanner-mrtg/files/mailscanner-mrtg.8
echo x - mailscanner-mrtg/pkg-message
sed 's/^X//' >mailscanner-mrtg/pkg-message << 'END-of-mailscanner-mrtg/pkg-message'
X*************************************************************************
X	    _  _____ _____ _____ _   _ _____ ___ ___  _   _ 	
X	   / \|_   _|_   _| ____| \ | |_   _|_ _/ _ \| \ | |
X	  / _ \ | |   | | |  _| |  \| | | |  | | | | |  \| |
X	 / ___ \| |   | | | |___| |\  | | |  | | |_| | |\  |
X	/_/   \_\_|   |_| |_____|_| \_| |_| |___\___/|_| \_|
X
X
X	Please proceed with the installation by following these steps:
X
X	1. Please create/adjust the configuration file
X
X	%%PREFIX%%/etc/mailscanner-mrtg/mailscanner-mrtg.conf
X
X
X	2. mailscanner-mrtg will run without snmpd but in order to
X	see all statistics you should install the net-snmp 
X	daemon located at %%PORTSDIR%%/net/net-snmp
X
X	3. Moreover make sure your crontab calls mailscanner-mrtg every
X	five Minutes:
X
X	0-59/5 * * * * root %%LOCALBASE%%/bin/mrtg %%PREFIX%%/etc/mailscanner-mrtg/mailscanner-mrtg.cfg
X
X	4. Configure your Apache server to correctly show the mailscanner-mrtg pages. E.g:
X
X	<VirtualHost *:80>
X	ServerAdmin yourname@yourcompany.com
X	DocumentRoot %%WWWBASE%%/mailscanner-mrtg
X	Alias /mailscanner-mrtg "%%WWWBASE%%/mailscanner-mrtg/"
X	</VirtualHost>
X
X
X	File locations:
X	mailscanner-mrtg configuration --> %%PREFIX%%/etc/mailscanner-mrtg
X	HTML files --> %%WWWBASE%%/mailscanner-mrtg
X
X*************************************************************************
END-of-mailscanner-mrtg/pkg-message
exit
--- mailscanner-mrtg-0.08.01.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402261423.i1QENtMt027301>