On Mon, 20 Jan 2014, Robert Schetterer wrote:
Am 19.01.2014 22:36, schrieb Paolo:
Is there some simple script that parsing the dovecot.info.log can give me a list of the mail checks for a user (better if reports also the type (POP/IMAP), and result of the sessions (Ok/Fail/Error/...))?
Regards, Paolo
Logwatch may help you
I am using CentOS 6.x with default dovecot-2.0.16 and logwatch-7.3.6
In default config it don't give any useful info. Tried to update the docevot script with other from the net and modifing the logs reference, but also using a specified call to it like:
logwatch --service dovecot --debug 10 --logfile dovecot
I obtain nothing or a complete list of sessions disabling OnlyService = (imap-login|pop3-login|dovecot) in the dovecot.conf file
Probably there is some bug or I am missing something. Nothing interesting n the archive list.
short way may using something like i.e.
grep -i "user" dovecot.info.log etc
That is what I am using now. Hoped in someone that had write something that summarize this output better :-)
Regards, Paolo