Plugging into the imap system

Bron Gondwana brong at fastmail.fm
Sat Dec 22 19:00:24 EST 2007


On Sat, Dec 22, 2007 at 04:51:46PM -0300, Diego M. Vadell wrote:
> Hi Gabriele,
>    If you are using linux, maybe you can use inotify-tools to notify you of 
> any change in cyrus' spool. 

Be aware that the files on disk are created _before_ the index record,
so you need to wait or poll until the index record has had a chance to
be created.

Even if you capture the "append" event on the cyrus.index file itself,
you still won't see the new record until the 'exists' record in the
index header is updated.

Bron.


More information about the Info-cyrus mailing list