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
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
http://sourceforge.net/projects/logwatch/
short way may using something like i.e.
grep -i "user" dovecot.info.log etc
Best Regards MfG Robert Schetterer
-- [*] sys4 AG
http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstraße 15, 81669 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein
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
participants (2)
-
Paolo
-
Robert Schetterer