Re: Plugging into the imap system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux