Re: events
Michael, Thanks a lot! After looking at the source, I guess the ox driver will do. Maybe, when other people find this thread, you could tell what dlog is. Because I do not know it, and googling came up with little results. Regards, Frederik On 21-10-15 23:33, Michael M Slusarz wrote: On 10/21/2015 9:07 AM, Frederik Bosch | Genkgo wrote: We want to trigger a script after certain actions by the user (event). This script inserts the action into message queue (e.g. Rabbit MQ) accompanied with some data. Then one or more workers picks up the action from the message queue and do something with it. The question is: how can I trigger the script from dovecot? This is precisely what the new push-notification plugin is for (2.2.19). (You will need to write a driver to interact with your notification handler, similar to the "dlog" or "ox" drivers.) michael
Re: migration from zimbra to dovecot
> On 21 Oct 2015, at 20:13, micah wrote: > Are there any migration scripts to handle UID conversion for moving from > a zimbra setup to dovecot? It would be nice to move all the mail without > having re-download it all! Depends on what is the imap backend behind Zimbra or if using Zimbra builtin imap backend, but usually UID:s are preserved when mails are migrated by using dsync over imapc connection when the dsync target platform is Dovecot. This however requires that master password can be set on Zimbra side or users passwords are known. Sami
Re: events
On 10/21/2015 9:07 AM, Frederik Bosch | Genkgo wrote: We want to trigger a script after certain actions by the user (event). This script inserts the action into message queue (e.g. Rabbit MQ) accompanied with some data. Then one or more workers picks up the action from the message queue and do something with it. The question is: how can I trigger the script from dovecot? This is precisely what the new push-notification plugin is for (2.2.19). (You will need to write a driver to interact with your notification handler, similar to the "dlog" or "ox" drivers.) michael
migration from zimbra to dovecot
Hello, Are there any migration scripts to handle UID conversion for moving from a zimbra setup to dovecot? It would be nice to move all the mail without having re-download it all! thanks! micah ps - asking for a friend
Dsync only indexes
Hello, We are using dbox and we would like to put indexes on a separate storage, our actual setup have indexes on the same storage has the messages. Is there a way to only synchronise the indexes to easily change our setup ? Thanks.
events
Hello, We want to trigger a script after certain actions by the user (event). This script inserts the action into message queue (e.g. Rabbit MQ) accompanied with some data. Then one or more workers picks up the action from the message queue and do something with it. The question is: how can I trigger the script from dovecot? An action/event should at least emitted when moving an e-mail message. The amount of data in the event is unknown. My current goal I would like to at least know the sender and receiver address and the type of action (e.g. move). But I can imagine, when having an event driven application, that others might even want the complete e-mail message to be in data. Is such an event driven system possible? When looking at current features of Dovecot: it would the same as the mail_log feature, but instead of writing to a file, one should able to write to a script or socket. Ideally the format of the event would JSON, XML or another data format. Regards, Frederik Current version: Dovecot 2.2.16.