Folder subscription issue
egoitz at sarenet.es
Thu Jul 18 10:32:33 EDT 2019
A ti Javier :)
Dpto. de sistemas
944 209 470
Parque Tecnológico. Edificio 103
48170 Zamudio (Bizkaia)
egoitz at sarenet.es <mailto:undefined>
Antes de imprimir este correo electrónico piense si es necesario hacerlo.
> El 18 jul 2019, a las 16:27, Infraestructura TIC - UNNOBA <tecnologia at unnoba.edu.ar> escribió:
> Muchísimas gracias, Egoitz!
> El 18/7/19 a las 11:12, Egoitz Aurrekoetxea escribió:
>> Fine! Very happy sharing then :) :) . It only handles email. For Calendars/Contacts we have been long time now, using Davical (to which we contributed in it’s day https://wiki.davical.org/index.php/DAViCal-cli <https://wiki.davical.org/index.php/DAViCal-cli>) . We don’t refuse to use Caldav with Cyrus, it’s just we did the system previous to Cyrus Caldav system.
>> I attach the code in this email. I explain how we use it. We have each mailbox server running this code as a cron job and we have too some servers with Cyrus IMAP for just storing removed content (without the cron obviously). Each user in the restore server (a normal mailbox server but just for storing deleted content) is something like : user_domain at recuperaciones.saremail.com <mailto:user_domain at recuperaciones.saremail.com>. All our servers have autocreate feature (although in our mailbox servers is not being used nowadays). So, we keep track of what has been removed in a mailbox server with two elements… the Cyrus log and cyradm command. With cyradm command we keep track of deleted “folders" in each user account. With the log, we know where expunges had been run. Later, we take the DELETED mailboxes (the folders of each user) and upload them to Saremail-Restore. After that, we check the log (from some hours before till the present moment). Then we ask unexpunge to see what has been removed in each place. We upload them. We keep track in a database of what exactly has dealed with and what is remaining to deal with, so in the case a fail over to a slave is produced unexpunges can then be run there, even if there’s nothing in the logs that say that (because it’s obviously a slave).
>> If you think it could be useful, perhaps could be uploaded to contrib directory…
> Lic. Javier Charne
> Responsable Infraestructura Tecnológica
> Prosecretaría de TIC | UNNOBA
> Junín, Buenos Aires, Argentina
> javier at unnoba.edu.ar <mailto:javier at unnoba.edu.ar>
> Tel: +54 (0236) 4407750 int 11712
> Cel: +5492364542182
> Cyrus Home Page: http://www.cyrusimap.org/
> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
> To Unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Info-cyrus