Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers 2

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.