Postfix count relayed messages per user
Posted
by
Martino Dino
on Server Fault
See other posts from Server Fault
or by Martino Dino
Published on 2012-11-23T20:12:08Z
Indexed on
2012/11/24
11:12 UTC
Read the original article
Hit count: 322
I would like to know if it's possible to count the outgoing (relayed) messages on a per user basis in postfix.
I'm managing a small commercial SMTP relay and decided that it would be nice to have a detailed daily report on how much mail a single user have sent (and eventually enforce some limits) possibly in realtime.
I've looked almost everywhere and started to think that writing my own milter would be the way to go...
Are you aware of anything that already exists for postfix that can count and report relayed mail for authenticated users (a script, milter or whatever)?
© Server Fault or respective owner