Look into log analysis tools like pflogsumm.
On Sun, Jun 28, 2009 at 4:27 PM, Ville Walveranta<walvera...@gmail.com> wrote: > I would like to have a daily report of the total number of email > messages sent out through a Postfix installation (all users, all > domains combined). What would be the easiest way to "increment a > counter" every time a mail goes out? > > I would mostly use the daily count as an alarm of possible abuse, i.e. > to let me know if a user is pushing out, for example, thousands of > messages per day which could be in violation of the data center's mass > mail policy. > > Thanks, > > Ville >