Plugging into the imap system

Dan White dwhite at olp.net
Thu Dec 20 11:50:41 EST 2007


Gabriele Bulfon wrote:
> Hello,
> I would like to know if there is some way of plugging into the system with custom agents to be notified of any event happening on the imap server.
> For example, I would like some code of mine to be called when new messages are: written into mailboxes, deleted from mailboxes, modified etc. etc.
> The main reason for this is to implement a synchronization code.
> We're using the cyrus imap server not only for mails but also for other informations stored as attachments into emails (agenda events, contacts and others) into specific folders, and these objects are handled by client softwares.
> It would be great to be able to implement our servers with add on software of ours being able to intercept objects modifications and mantain event synchronization informations (for example to deliver the same data to mobile devices).
> Thanx for any help
> Gabriele Bulfon.

If you're not synchronizing to another server, you can enable the 
sync log and write a script to monitor it for changes.

- Dan


More information about the Info-cyrus mailing list