hi all,
is there a way to somehow log the size of an IMAP session with Dovecot? With POP3 there is this pop3 format string I can set in dovecot.conf, but I don't see an equivalent for IMAP.
If so, are there any plans to add this functionality?
thanks,
armijn
--
armijn@uulug.nl | http://www.uulug.nl/ | UULug: Utrecht Linux Users Group
On Tue, 2007-05-01 at 16:57 +0200, Armijn Hemel wrote:
hi all,
is there a way to somehow log the size of an IMAP session with Dovecot? With POP3 there is this pop3 format string I can set in dovecot.conf, but I don't see an equivalent for IMAP.
If so, are there any plans to add this functionality?
IMAP has multiple mailboxes, so I don't see how this could work in any useful way. It could of course log just INBOX's size, but since the client wouldn't necessarily even open the INBOX that would be just extra work for nothing but a log line.
What do you need it for anyway?
Hi Timo,
is there a way to somehow log the size of an IMAP session with Dovecot? With POP3 there is this pop3 format string I can set in dovecot.conf, but I don't see an equivalent for IMAP.
If so, are there any plans to add this functionality?
IMAP has multiple mailboxes, so I don't see how this could work in any useful way. It could of course log just INBOX's size, but since the client wouldn't necessarily even open the INBOX that would be just extra work for nothing but a log line.
What do you need it for anyway?
I work for a small hosting company. We host websites and people's mail on a shared hosting server. Mail is accessed through POP3 or IMAP. I need to be able to measure the IMAP size for accounting, since people pay for the bandwidth and I need to be able to justify it in my reports :-)
It can already be done with POP3, where there is a "size" value:
dovecot: May 07 09:11:54 Info: POP3(xxxxx@xxxxxxx.xx): Disconnected: Logged out top=0/0, retr=2/29469, del=2/2, size=29433
armijn
--
armijn@uulug.nl | http://www.uulug.nl/ | UULug: Utrecht Linux Users Group
On Saturday, May 12 at 03:28 AM, quoth Armijn Hemel:
I work for a small hosting company. We host websites and people's mail on a shared hosting server. Mail is accessed through POP3 or IMAP. I need to be able to measure the IMAP size for accounting, since people pay for the bandwidth and I need to be able to justify it in my reports :-)
It can already be done with POP3, where there is a "size" value:
dovecot: May 07 09:11:54 Info: POP3(xxxxx@xxxxxxx.xx): Disconnected: Logged out top=0/0, retr=2/29469, del=2/2, size=29433
I think you're looking for this: http://www.dovecot.org/list/dovecot/2007-March/020478.html
~Kyle
Testing can show the presence of errors, but not their absence. -- E. W. Dijkstra
participants (3)
-
Armijn Hemel
-
Kyle Wheeler
-
Timo Sirainen