Qmail-Scanner Statistics QSS is a spiffy little PHP program that reads the Qmail-Scanner log file and produces some pretty graphs. An example is included below. Unfortunately, the code has been abandoned for a long time. On various occasions I have made alterations to keep it working as the logging format of Qmail-Scanner has changed. As of this date (April 8, 2005), I have discontinued maintenance of it as the use of Qmail-Scanner has been deprecated in favor of simscan. How do I get QmailScanner Statistics to work? Easy way:
The hard way:
Change the start date to the earliest date shown in your log file (head /var/spool/qmailscan/quarantine.log). Change the logFile variable to point to "/var/spool/qmailscan/quarantine.log". Then open up the permissions a bit on the quarantine so qmail-scanner stats can read it:
Qmail-Scanner changed the logging date format at version 1.20 but qmailscanner stats doesn't have a fix for it yet. If you log files with dates in this format: 23-09-2003 then it'll work great. If you are using a newer version of qmail-scanner, you'll notice that your log entries are not showing up. I have both (before/after upgrade) so I fixed qmailscanner stats it by editing the index.php as follows (The if..else block is my addition):
Point your browser at http://mail.example.com/qss/ and voila! You should see something like this:
Last modified on 4/8/05. |
|