2011/4/12 Zhou, Yan <yz...@medplus.com> > How do you gather statistics for messages delivered and processed via > Postfix (both inbound and outbound)? For instance, to show on a daily > basis, how many messages we have received from each domain, how many > messages we have delivered to each domain, etc. > > I have seen some options relying on passing the maillog file, I wonder > if there is any other option? >
pflogsumm parses mail logs and does a great job - http://jimsun.linxnet.com/postfix_contrib.html You can run it regularly by cron - http://zee.balogh.sk/?p=2488 Why would you want to do it another way? Z.