Qmail
[Top] [All Lists]

RE: tai64n date format

To: <qmail@list.cr.yp.to>
Subject: RE: tai64n date format
From: "Graham Miller" <graham@gmcs.com.au>
Date: Mon, 2 Apr 2007 08:50:50 +1000
Delivered-to: sp-com-lists@consult.net
Delivered-to: gmail-qmail@securepoint.com
Delivered-to: sp.com.list@gmail.com
Delivered-to: mailing list qmail@list.cr.yp.to
In-reply-to: <a3bd4fe00704011420l1edac314q10c5b1d703713505@mail.gmail.com>
Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
Organization: Graham Miller Computer Services
Thread-index: Acd0o9JLl4tJYijsSZ60bb2LZ3SpvgACyHuA
Vahid Moghaddasi wrote:
> I think that I can use this to find the date entry in the log file
> with some changes. What I really want to do is similar to this: "cat
> current | grep <today's TAI date> > file.out. Then I would have all
> the lines for today's date in the file.out file.
> I need to do this so I can run different reports on mail delivery.

Have you looked at Dr. Erwin Hoffmann's "newanalyse" software...
http://www.fehcom.de/qmail/newanalyse.html

This is implemented in Korn shell script with DJB's qmailanalog. I seem to 
remember seeing some
code in there for handling in queue messages but cannot say if it works 
properly or not because
we do not worry about that... we just work on the successful delivery.

The package is very good and includes the ability to work on archived files as 
well. Can give
various reports on a day or month etc. We use it to analyse, and email results 
to an
administrator. And with a bit of modification to it and qmailanalog, gives us 
monthly traffic
stats per domain.

Cheers
Graham


<Prev in Thread] Current Thread [Next in Thread>