[Dovecot] Summerising users subfolders imap logs?

Sysadmin sysadmin at e-positive.ee
Tue Jul 11 16:23:14 EEST 2006


Hello.


Migrating from pop3 to imap I have now situation, that every user has a
lot sub folders, for example 100 sub folders and now every mail check
writes in the mail log also login/logout log for every sub folder:

dovecot: Jul 11 16:16:31 Info: imap-login: Login: anti, [192.168.20.1],
PLAIN, TLS
dovecot: Jul 11 16:16:31 Info: IMAP(anti): Disconnected in IDLE
dovecot: Jul 11 16:16:31 Info: imap-login: Login: anti, [192.168.20.1],
PLAIN, TLS
dovecot: Jul 11 16:16:32 Info: IMAP(anti): Disconnected in IDLE
dovecot: Jul 11 16:16:32 Info: imap-login: Login: anti, [192.168.20.1],
PLAIN, TLS
dovecot: Jul 11 16:16:32 Info: IMAP(anti): Disconnected in IDLE
dovecot: Jul 11 16:16:32 Info: imap-login: Login: anti, [192.168.20.1],
PLAIN, TLS
dovecot: Jul 11 16:16:32 Info: IMAP(anti): Disconnected in IDLE
dovecot: Jul 11 16:16:32 Info: imap-login: Login: anti, [192.168.20.1],
PLAIN, TLS
dovecot: Jul 11 16:16:32 Info: IMAP(anti): Disconnected in IDLE
dovecot: Jul 11 16:16:33 Info: imap-login: Login: anti, [192.168.20.1],
PLAIN, TLS
dovecot: Jul 11 16:16:33 Info: IMAP(anti): Disconnected in IDLE
dovecot: Jul 11 16:16:33 Info: imap-login: Login: anti, [192.168.20.1],
PLAIN, TLS
dovecot: Jul 11 16:16:33 Info: IMAP(anti): Disconnected
dovecot: Jul 11 16:16:33 Info: imap-login: Login: anti, [192.168.20.1],
PLAIN, TLS
dovecot: Jul 11 16:16:33 Info: IMAP(anti): Disconnected in IDLE
dovecot: Jul 11 16:16:34 Info: imap-login: Login: anti, [192.168.20.1],
PLAIN, TLS
dovecot: Jul 11 16:16:34 Info: IMAP(anti): Disconnected in IDLE
dovecot: Jul 11 16:16:34 Info: imap-login: Login: anti, [192.168.20.1],
PLAIN, TLS
dovecot: Jul 11 16:16:34 Info: IMAP(anti): Disconnected: Logged out
dovecot: Jul 11 16:16:35 Info: imap-login: Login: anti, [192.168.20.1],
PLAIN, TLS
dovecot: Jul 11 16:16:35 Info: IMAP(anti): Disconnected in IDLE


etc. So maillogs are full thiskind of stuff. But as I cant see here
which subfolder the user access, so is it possible to summerise somehow
this per users mass logging witth one row, something like:

imap-login: Login: anti, [192.168.20.1], PLAIN, TLS, accessed 100 folders,

or just:

imap-login: Login: anti, [192.168.20.1], PLAIN, TLS

Or someting else? Any idea to make this happend?

-- 
Sysadmin



More information about the dovecot mailing list