postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: RE: Logfile condenser

RE: Logfile condenser

From: Mark Scholten <mark_at_nospam>
Date: Wed Oct 20 2010 - 16:43:45 GMT
To: <postfix-users@postfix.org>

> -----Original Message-----
> From: owner-postfix-users@postfix.org [mailto:owner-postfix-
> users@postfix.org] On Behalf Of mouss
> Sent: Tuesday, October 19, 2010 10:55 PM
> To: postfix-users@postfix.org
> Subject: Re: Logfile condenser
>
> what I'd like to see is "requirements/needs". that is: what do people
> need?
>
> once we get that, the implementation is trivial.

I'd like to get some script to process logfiles and gives back the following
information:
- From (address)
- From server (hostname and/or IP)
- Destination (address)
- Destination server (hostname and/or IP)
- Message ID
- Time and date (for the receiving and/or delivery moment)

With the information above I could create statistics on servers without
local mail delivery (I don't care for servers with local mail delivery).

I know the information I want to have is in the postfix logs. Now the
information is on multiple lines and I would like to get everything in a
single line.

Regards, Mark