Maria Arrea
2012-Mar-12 11:56 UTC
[Dovecot] Question about folder creation/delete and logging
Hello We are working in a web based restore system for our Dovecot users. In this web form a user must log-in and after successful login can estore a deleted folder from date X. We will release it under the GPL. I have a couple of questions: - Is there any way of Dovecot logging to write when a folder is deleted or created? We do not want to increase too much our "normal" logging level. We use Dovecot 2.0.18+mdbox+zlib - Does anybody know of any other project to create an easy-restore for Dovecot? Regards Maria
Urban Loesch
2012-Mar-12 13:02 UTC
[Dovecot] Question about folder creation/delete and logging
Hi, perhaps the mail_log plugin is what you need. Regards Urban On 12.03.2012 12:56, Maria Arrea wrote:> Hello > > We are working in a web based restore system for our Dovecot users. In this web form a user must log-in and after successful login can estore a deleted folder from date X. We will release it under the GPL. I have a couple of questions: > > - Is there any way of Dovecot logging to write when a folder is deleted or created? We do not want to increase too much our "normal" logging level. We use Dovecot 2.0.18+mdbox+zlib > - Does anybody know of any other project to create an easy-restore for Dovecot? > > Regards > > Maria >
Timo Sirainen
2012-Mar-12 13:04 UTC
[Dovecot] Question about folder creation/delete and logging
On Mon, 2012-03-12 at 12:56 +0100, Maria Arrea wrote:> > - Is there any way of Dovecot logging to write when a folder is > deleted or created? We do not want to increase too much our "normal" > logging level. We use Dovecot 2.0.18+mdbox+zlibYou can configure mail_log plugin to only log mailbox creations and deletions. http://wiki2.dovecot.org/Plugins/MailLog> - Does anybody know of any other project to create an easy-restore > for Dovecot?I guess you're using "doveadm import"? So other than that, haven't heard of any.
Maria Arrea
2012-Mar-12 13:18 UTC
[Dovecot] Question about folder creation/delete and logging
mail_log plugin is just what we need, thank you for your support. Yes, we are using bacula+doveadm import for this project. If you are interested, we have in production an home-brew message-tracking system for our end-users. We parse qmail / postfix / clamav / spamassassin/ dovecot / sieve logs and insert them in a mysql database, and a logged user in our webapp can see what happened with her mails (sent mails or messages waiting for arrival). Affero GPL software, of course. Some screenshots (Spanish only, sorry) here: https://gestionproyectos.us.es/attachments/download/321/Seguimiento_de_mensajes___Vista_detalla_de_mensaje_1331558163319.png https://gestionproyectos.us.es/attachments/download/145/Captura_de_pantalla_2011-06-05_a_las_14.03.42.png https://gestionproyectos.us.es/attachments/download/156/Seguimiento_de_mensajes___Administraci%C3%B3n_1308042340487.png URL of the project (Seguimiento, spanish word for "tracking"): https://gestionproyectos.us.es/projects/seguimiento Regards Maria ----- Original Message ----- From: Timo Sirainen Sent: 03/12/12 02:04 PM To: Maria Arrea Subject: Re: [Dovecot] Question about folder creation/delete and logging On Mon, 2012-03-12 at 12:56 +0100, Maria Arrea wrote: > > - Is there any way of Dovecot logging to write when a folder is > deleted or created? We do not want to increase too much our "normal" > logging level. We use Dovecot 2.0.18+mdbox+zlib You can configure mail_log plugin to only log mailbox creations and deletions. http://wiki2.dovecot.org/Plugins/MailLog > - Does anybody know of any other project to create an easy-restore > for Dovecot? I guess you're using "doveadm import"? So other than that, haven't heard of any.