Last modified on July 8, 2005
qmail-scanner Event Log Generation
System and Per-Account Statistics
06/18/2005: qms-analog-0.4.4 released (for qmail-scanner-1.25 and ST patch 20050419)
Note: Now that qms-analog is hosted on SourceForge, all bug reports, support requests, feature requests, forums and mailing lists are hosted there.
qms-analog is a utility which takes as input records from a new type of qmail-scanner log file "qms-events.log". In order to create and update this file properly, qmail-scanner-1.25 must be patched with the included qmail-scanner-1.25-st-qms-20050618.patch file. This patch contains the popular "st" patch plus some new patches to support the qms-events.log file format and generation. Let's review the players:
Qmail-Scanner (by Jason Haar) is an excellent add-on for Qmail, often installed as part of the QmailRocks Qmail installation procedure, that replaces the Qmail SMTP queue processor so that third-party utilities such as ClamAV and SpamAssassin can be executed during the processing of an incoming or outgoing email message.
Qmail-Scanner-1.25st (by Salvatore Toribio) is an excellent patch for Qmail-Scanner, with some great features like rejection, deletion, or quarantining of SPAM messages and some other goodies. It is a standard inclusion in the QmailRocks installation procedure.
qms-analog "qms" patch adds a new logging capability to qmail-scanner. It is event logging - only significant functional events are logged which can be used to generate a wide variety of statistics when analyzed. The log file generated is qms-events.log, and it is stored in the same directory as the qmail-queue.log file. The format of this new log file is described here.
qms-analog analyzes the records of qms-events.log (via stdin) and generates statistics which it writes on stdout. It is typically included as part of nightly email server statistics generation such as the qmailstats script provided with the QmailRocks procedure.
I want to thank Jason Haar and Salvatore Toribio for adding great value to the Qmail experience. I also want to thank Eric Siegel (creator of QmailRocks.org) for reducing the installation of Qmail and other features to almost a mindless effort.