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

Re: Logfile condenser

From: Dom Latter <postfix-list_at_nospam>
Date: Tue Oct 19 2010 - 10:37:59 GMT

On 19/10/10 11:55, Mark Scholten wrote:

> From here there is interest in it. I would edit it to include the


> client/destination server and message ID, but for the rest it sounds great.

Configurable as follows, e.g.:
$output = array ('time', 'meat', 'from', 'to', 'hits', 'size');

'meat' is one of ham / spam / flam. 'flam' is anything flagged
as BANNED. Why 'flam'? Not sure. Maybe 'fat'?

Additional fields are msg-id, client (host / IP mail comes from),
relay (host / IP mail goes to), status (e.g. 'sent'), and possibly
'handle' which is the last ESMTP ID that the message has as it
goes through the server.

It may not scale well when faced with really huge logfiles but the
reasons for that probably deserve a separate thread.