Qvsgraph is a software solution designed to offer a graphical representation of qmail-scanner results. It provides users with a simple way to visualize information and make it easily accessible.
To run the software, there are a few dependencies that must be met. If any requirements are not met, the tool will not be able to function. These dependencies include qmail (installed with qmail-scanner), Clam Anti-Virus, php-cli and php-mysql. Additionally, you will need a machine with mysql-server installed, which doesn't necessarily have to be local. On the machine where you want to view the statistics, apache (preferred), php (recent version, 4.1 should be okay), php-gd, and php-mysql must be installed.
Assuming you have all of the software installed on the same machine, you can quickly and easily set up qvsgraph. It basically works in the following way: [qmail-scanner] -> /var/spool/qmailscan/quarantine.log -> [scan2db.php] -> mysql DB -> [lvirus.php].
To get started, you should first install the mysql storage by editing add_mysql_user.sql and changing the password. Next, run # mysql -u root -p /dev/null and then chmod 750 /var/spool/qmailscan/scan2db.php. After that, you can initialize the mysql DB by running # init=1 /var/spool/qmailscan/scan2db.php.
Finally, to install the frontend (lvirus.php), you should edit lvirus.php to change the mysql connection values and then move lvirus.php to your preferred location. At this point, you should chown / chmod lvirus.php to match your php configuration (mod_php, suPHP, etc.). Once everything is set up, simply point your web browser to lvirus.php and read the file to discover just what you can tinker with to get the most out of qvsgraph. Overall, a very useful tool!
Version 0.4: N/A