Gathering statistical data into a database Hi all,

This question might be a bit general, and I apologize in advance.

I'm essentially looking to gather statistics on my Postfix MTA for
users. I'd ideally like to collect these statistics into a relational
database where I can use a web scripting language such as PHP to
display data to myself on an administrative panel.

Ultimately I'm looking for very generic data such as the following:

a) Number of emails a user has received
b) Number of emails a user has sent
c) Time of latest received email

Just a bunch of very general stats as those. If I can get them
populated into a database, that would be ideal and would make querying
rudimentary for display.

Before reinventing the wheel and parsing logs with perl, is there
existing utilities available to help me achieve these results? If not,
I'd definitely appreciate getting pointed in the right direction.

Thank you kindly for your help,

/sf


