aelius Posted June 2, 2014 Report Posted June 2, 2014 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 mailgraphroot@ns:~# apt-get install mailgraphReading package lists... DoneBuilding dependency treeReading state information... DoneThe 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-extraSuggested packages: ttf-baekmuk ttf-arphic-gbsn00lp ttf-arphic-bsmi00lp ttf-arphic-gkai00mp ttf-arphic-bkai00mpThe 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-extra0 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.cgiroot@ns:~# cd /var/www/tools/mailgraphroot@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 ? Quote