Current time: 09-30-2024, 11:48 PM Hello There, Guest! (LoginRegister)


Thread Closed 
Imap accounting in dovecot
Author Message
aseques Offline
Member
*****
Dev Team

Posts: 330
Joined: May 2008
Reputation: 4
Post: #3
RE: Imap accounting in dovecot
It seems to me that imap accounting is screwed on courier too:
Using this line as the log:
Code:
Aug 22 17:25:13 ascension imapd: TIMEOUT, user=gordon, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=4770, sent=776926, time=3650
And parsing like ispcp:
Code:
/bin/cat /tmp/dom |/bin/grep 'imap'|/bin/grep 'user='|/bin/grep 'body='|/bin/grep -v 'ip=[::ffff:127.0.0.1]'|/usr/bin/awk '{print $7,$9,substr($10,1,length($10)-1);}'

It gives:
Code:
user=gordon, headers=0, body=0
Instead of 781696 wich would seem more reasonable (rvcd + sent bytes)

Does anyone have an explanation on what is the expected output?
05-18-2010 11:43 PM
Find all posts by this user
Thread Closed 


Messages In This Thread
Imap accounting in dovecot - aseques - 05-18-2010, 12:06 AM
RE: Imap accounting in dovecot - BeNe - 05-18-2010, 09:59 PM
RE: Imap accounting in dovecot - aseques - 05-18-2010 11:43 PM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)