freebsd-ports/mail/mailscanner-mrtg/pkg-message
Sergey Matveychuk c1528b770a - Fix net-snmp port location (net -> net-mgmt)
Reported by:	Anders Troback <freebsd@troback.com> (ports@)
2006-02-22 10:28:26 +00:00

38 lines
1.3 KiB
Text

*************************************************************************
_ _____ _____ _____ _ _ _____ ___ ___ _ _
/ \|_ _|_ _| ____| \ | |_ _|_ _/ _ \| \ | |
/ _ \ | | | | | _| | \| | | | | | | | | \| |
/ ___ \| | | | | |___| |\ | | | | | |_| | |\ |
/_/ \_\_| |_| |_____|_| \_| |_| |___\___/|_| \_|
Please proceed with the installation by following these steps:
1. Please create/adjust the configuration file
%%PREFIX%%/etc/mailscanner-mrtg/mailscanner-mrtg.conf
2. mailscanner-mrtg will run without snmpd but in order to
see all statistics you should install the net-snmp
daemon located at %%PORTSDIR%%/net-mgmt/net-snmp
3. Moreover make sure your crontab calls mailscanner-mrtg every
five Minutes:
0-59/5 * * * * root %%LOCALBASE%%/bin/mrtg %%PREFIX%%/etc/mailscanner-mrtg/mailscanner-mrtg.cfg
4. Configure your Apache server to correctly show the mailscanner-mrtg pages. E.g:
<VirtualHost *:80>
ServerAdmin yourname@yourcompany.com
DocumentRoot %%WWWBASE%%/mailscanner-mrtg
Alias /mailscanner-mrtg "%%WWWBASE%%/mailscanner-mrtg/"
</VirtualHost>
File locations:
mailscanner-mrtg configuration --> %%PREFIX%%/etc/mailscanner-mrtg
HTML files --> %%WWWBASE%%/mailscanner-mrtg
*************************************************************************