On Thu, Aug 15, 2002 at 04:56:29AM +0200, kaktus wrote:
> hello
> 
> i am looking for a postfix maillog stats generator, that analyses the log
> file, and produces a report, the way webalizer does for http requests
> 
> has anybody heard about a project like this ?

There was a perl script for this that was distributed with postfix
(IIRC). I don't know if Redhat includes it.

$ sudo cat /var/log/maillog | /usr/local/bin/pflogsumm-1.0.3.pl -d yesterday

Postfix log summaries for Aug 13


Grand Totals
------------
messages

    530   received
    472   delivered
      0   forwarded
      0   deferred
      0   bounced
     59   rejected

   2336k  bytes received
   2336k  bytes delivered
     44   senders
     22   sending hosts/domains
     10   recipients
     10   recipient hosts/domains

[snip massive details]


There is a cgi interface for this too. Quite nifty.

-- 
Hal Burgiss
 



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to