Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
In Postfix, how do I measure how much traffic is used by each user or domain?

Is there any way/tool to monitor total no. of mails send by a mail user. I am already using awstats but no luck it's give report for total mails send in a day or month. I have postfix server on ubuntu 10.04LTS.

share|improve this question

marked as duplicate by Khaled, mailq, Ladadadada, Scott Pack, voretaq7 Aug 22 '12 at 20:40

This question was marked as an exact duplicate of an existing question.

up vote 0 down vote accepted

You may use tool called - pflogsumm. It takes your mail logs and produce very nice summary of all mail received, rejected, sent, delivered and many more.

share|improve this answer

Put the log entries in a database. And then you can do SUM(), GROUP BY, ORDER BY and whatever you like. There is no built-in in Postfix. If you have millions or billions of log entries per day then you should consider NO-SQL databases for your use-case.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.