Re: Cyrus APIs ?

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

 



>>   - IMAP protocol extensions (most needed thing would be to "idle" on
>> every folders, not just inbox)
>
> Yeah, good luck with that one.  It's a pretty major "protocol extention",
> and everything's very folder centric.  It would be a rather large SMOP
> (small matter of programming) for this.

If you have idled stupport, this shouldn't be too hard to implement.

Basically the way idled currently works is that a process sends it a message 
about which mailbox it's interested in, and then idled sends it a USR1 sig 
if something changes on that mailbox.

I think all you'd need to do is loop and send multiple mailbox names to 
idled, and it'll USR1 you when any of them change. Of course you then have 
to poll to find out which ones, which is a bit annoying, but would be 
fixable with a bit more work.

Rob

----
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