This patch has qmail scanner log to a MySQL database. Should the database not be available, this functionality fails silently. Data is still logged to files for redundancy.

Make sure you set the username, password, database and server to match your configuration. You can do this in the generated qmail-scanner-queue.pl file after running "configure" or you can modify the diff before patching.

I've also included a PHP reporting tool. It's still under development but generates useful information.

REQUIREMENTS:

INSTALLATION:

My directory structure looks like this:
/var/www/html/viruslogs/
/var/www/html/adodb/
/var/www/html/jpgraph/

You can edit the config.inc.php file to reflect where you have these installed. The $adodb variable is the full path and filename of the adodb.inc.php file. The $jpgraph variable is just the full path to the jpgraph/src directory.

config.inc.php also allows you exclude viruses from the report.

Sample Output