Re: Detecting changes to a folder

From: Florian G. Pflug (no email)
Date: Sat Mar 17 2007 - 15:48:39 EDT

  • Next message: Carsten Mathaes: "Cyrus-IMAPD 2.3.8 an BerekelyDB 4.5.20"

    Florian G. Pflug wrote:
    > Rob Mueller wrote:
    >>> Is there a better way to do this? I thought it might
    >>> be possible to explout the replication log for this,
    >>> but I don't really know where to start...
    >>
    >> I think you can use STATUS calls to get enough information you need?
    >>
    >> . STATUS INBOX (messages uidnext uidvalidity unseen highestmodseq)
    >
    > Ah, cool, I didn't know about STATUS.
    > Will try it out - thanks!

    It worked like a charm, and reduced the time per folder to 50ms if there
    are no changes.

    Thanks again, and greetings
    Florian Pflug


  • Next message: Carsten Mathaes: "Cyrus-IMAPD 2.3.8 an BerekelyDB 4.5.20"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD