Hi! Is there any known way I can log traffic caused by IMAP sessions? First it is adequate to have a rough overall statistic let's say traffic per hour - this is easily done with iptables. But on the long term I also need information on account basis. I thought of rawlogging every IMAP session and then simply count the filesizes. But the created logs have dropouts because dovecot doesn't log whole FETCH commands what is a problem. Thanks for every idea you have! Paul
On Mon, 2008-09-15 at 17:47 +0200, fp at onwebworx.net wrote:> I thought of rawlogging every IMAP session and then simply count the > filesizes. But the created logs have dropouts because dovecot doesn't > log whole FETCH commands what is a problem.Huh? As far as I know it does. Show me an example? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080916/2e602c74/attachment-0002.bin>
On Mon, 2008-09-15 at 17:47 +0200, fp at onwebworx.net wrote:> Hi! Is there any known way I can log traffic caused by IMAP sessions?If you're using new enough version, the disconnection message logs the number of transferred bytes: Disconnected: Logged out bytes=394615/612559 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080916/3e00cb12/attachment-0002.bin>