aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mailscanner-mrtg/files/pkg-message.in
blob: 37e77859136d42cae2e572de7739c49773f81f59 (plain) (blame)
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
*************************************************************************
        _  _____ _____ _____ _   _ _____ ___ ___  _   _     
       / \|_   _|_   _| ____| \ | |_   _|_ _/ _ \| \ | |
      / _ \ | |   | | |  _| |  \| | | |  | | | | |  \| |
     / ___ \| |   | | | |___| |\  | | |  | | |_| | |\  |
    /_/   \_\_|   |_| |_____|_| \_| |_| |___\___/|_| \_|


    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

*************************************************************************