[Dovecot] Imap - Loging
Hello List,
i'm looking for a way to increase log-level for imap-processes. Pop3 Server writes all necessary infos about mails-transfered/deleted etc. Imap-Log writes just times and ip's of Userlogins. Is there a way to increase the imap-output? The Conf-Parameters i found did not really fit my requirements. Best result would be a collected log of transfering/deleting mails for one imap-session. Ist there a way to achieve this?
Thank you Andre
On Fri, 2008-01-11 at 10:03 +0100, Andre Hübner wrote:
Hello List,
i'm looking for a way to increase log-level for imap-processes. Pop3 Server writes all necessary infos about mails-transfered/deleted etc. Imap-Log writes just times and ip's of Userlogins. Is there a way to increase the imap-output? The Conf-Parameters i found did not really fit my requirements. Best result would be a collected log of transfering/deleting mails for one imap-session. Ist there a way to achieve this?
Not really. It's not that simple with IMAP. For example what should be counted as "deleted"? Is it marking a message with \Deleted flag? Is it when the message has been expunged with EXPUNGE command? What about if the message was copied to Trash mailbox and then expunged?
Or downloading messages .. Should it be counted if only message headers are downloaded? Or only message body without headers? What about if only the first MIME part of a message with multiple MIME parts?
Dovecot v1.1 logs the number of transferred in/out bytes by the connection. Would that be enough? :)
Disconnected: Logged out bytes=1768030/2699695
Also mail_log plugin can log all those delete, expunge and copy events: http://wiki.dovecot.org/Plugins/MailLog
hmm...
in my special case a user misses a lot of mails. i do not believe in dovecot problem (1.0.10) There were some other connects with same ip... For more information a counting of really transfered mails would be nice. only flagged mails are not very interesting. Mails should be counted if they are moved to an other folder or are really deleted and all is synchronized. I think it would be ok that mails are counted twice in case of deleting after moving. operation is operation :) In my special case i only can say to my user that between time x und time y something happend.
hmm, yes, thats all at this time ;)
Andre
----- Original Message ----- From: "Timo Sirainen" tss@iki.fi To: "Andre Hübner" Andre.Huebner@gmx.de Cc: dovecot@dovecot.org Sent: Friday, January 11, 2008 1:01 PM Subject: Re: [Dovecot] Imap - Loging
On Fri, 2008-01-11 at 16:58 +0100, Andre Hübner wrote:
in my special case a user misses a lot of mails. i do not believe in dovecot problem (1.0.10) There were some other connects with same ip... For more information a counting of really transfered mails would be nice. only flagged mails are not very interesting. Mails should be counted if they are moved to an other folder or are really deleted and all is synchronized. I think it would be ok that mails are counted twice in case of deleting after moving. operation is operation :) In my special case i only can say to my user that between time x und time y something happend.
Sounds like mail_log plugin would already help you here.
participants (2)
-
Andre Hübner
-
Timo Sirainen