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

For monitoring my Postfix install I'm using pflogsumm, which parses the Postfix's logs and generates a nice summary.

I tried to find a similar tool for Dovecot, but couldn't. Is there such a thing?

Some clarifications:

  1. The tool has to be open source.
  2. We're using Dovecot only for POP3 protocol.
share|improve this question
    
No there is not. What should that summaries show? "How many mails are displayed per user?" "How many mails did a user move to a trash folder?" –  mailq Sep 27 '11 at 14:22
    
No, more like how many connections served, how many bad logins, from which IPs were most of connections and other information like this. –  arikfr Sep 28 '11 at 13:12

3 Answers 3

There's a plugin already available for logwatch which will parse dovecot log files.

share|improve this answer

If you need a log analyzer for Dovecot that just analyzes connections, IPs, errors and the like, then you can do this with Sawmill and the Dovecot Sawmill Plugin.

share|improve this answer
    
Thanks, but we're looking for an open source solution. Also we're not using Dovecot for IMAP but for POP3 (I've added these clarifications in the question now). –  arikfr Oct 1 '11 at 6:50
2  
@arikfr Then grep is your friend. –  mailq Oct 1 '11 at 8:06

You can try Octopussy project (disclaimer : my project).

It can handle any kind of logs.

It's clearly longer to make it works, but you can do a lot more when you've done !

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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