Jump to content
aelius

Grafice server email cu mailgraph

Recommended Posts

Posted

Un simplu tutorial despre mailgraph.

Mailgraph este un frontend (web/cgi) cu ajutorul caruia puteti face grafice pentru serverul de email pentru a tine o evidenta clara a mesajelor primite/trimise cat si a mesajelor rejectate, blocate sau care contin virusi.

Pe debian, instalarea este foarte simpla si consta in doi pasi.

1. Instalare pachet mailgraph.

2. Configurare director web cu ExecCGI (adaugare permisiune)

-------

Instalare mailgraph


root@ns:~# apt-get install mailgraph
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
fontconfig libcairo2 libdatrie1 libdbi1 libfile-tail-perl libpango1.0-0 libpixman-1-0 librrd4 librrds-perl libthai-data libthai0 libxcb-render0 libxcb-shm0 libxft2
libxrender1 ttf-dejavu ttf-dejavu-extra
Suggested packages:
ttf-baekmuk ttf-arphic-gbsn00lp ttf-arphic-bsmi00lp ttf-arphic-gkai00mp ttf-arphic-bkai00mp
The following NEW packages will be installed:
fontconfig libcairo2 libdatrie1 libdbi1 libfile-tail-perl libpango1.0-0 libpixman-1-0 librrd4 librrds-perl libthai-data libthai0 libxcb-render0 libxcb-shm0 libxft2
libxrender1 mailgraph ttf-dejavu ttf-dejavu-extra
0 upgraded, 18 newly installed, 0 to remove and 0 not upgraded.
Need to get 4,812 kB of archives.
After this operation, 12.8 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
......

Pentru a accesa pe web mailgraph-ul, eu am facut un virtualhost. DocumentRoot-ul acestuia este in "/var/www/tools". Am facut un director denumit mailgraph pentru a putea accesa cu virtualhost/mailgraph si apoi am editat fisierul de configuratie al virtualhost-ului in care am adaugat permisiunea de a se executa scriptul cgi necesar randarii graficelor.

Directorul mailgraph in virtualhost. Aici am copiat scriptul mailgraph.cgi


root@ns:~# cd /var/www/tools/mailgraph
root@ns:/var/www/tools/mailgraph# cp /usr/lib/cgi-bin/mailgraph.cgi .

Sectiune in fisierul de configurare al virtualhost-ului.


<Directory "/var/www/tools/mailgraph">
Options +ExecCGI
AddHandler cgi-script .cgi
</Directory>

Sunteti curiosi cum arata ?

mailstats.png

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...