/var/spool/qmailscan/qmail-queue.log contains records which use an ambiguous date-format (dd/mm/yyyy - which much of the time can be confused with mm/dd/yyyy).
Can you please change this to yyyy-mm-dd? This has the added advantage of producing records which can be merged and sorted with other log messages such as those resulting from qmail itself (tai64nlocal < /var/log/qmail/current). It's already a major nuisance having to post-process syslog records for the same exercise. For the record, here's what I've done: *** qmail-scanner-queue.template Tue Oct 15 08:34:04 2002 --- qmail-scanner-queue.template-mine Fri Nov 1 20:24:44 2002 *************** *** 299 **** ! my $nowtime = sprintf "%02d/%02d/%02d %02d:%02d:%02d", $mday, $mon+1, $year+1900, $hour, $min, $sec; --- 299 ---- ! my $nowtime = sprintf "%04d-%02d-%02d %02d:%02d:%02d", $year+1900, $mon+1, $mday, $hour, $min, $sec; *************** *** 413 **** ! $nowtime = sprintf "%02d/%02d/%02d %02d:%02d:%02d", $mday, $mon+1, $year+1900, $hour, $min, $sec; --- 413 ---- ! $nowtime = sprintf "%04d-%02d-%02d %02d:%02d:%02d", $year+1900, $mon+1, $mday, $hour, $min, $sec; *************** *** 434 **** ! $nowtime = sprintf "%02d/%02d/%02d %02d:%02d:%02d", $mday, $mon+1, $year+1900, $hour, $min, $sec; --- 434 ---- ! $nowtime = sprintf "%04d-%02d-%02d %02d:%02d:%02d", $year+1900, $mon+1, $mday, $hour, $min, $sec; Thanks for the great tool, Keith Hanlan Ottawa, Canada ------------------------------------------------------- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general
