#8 IMAP IDLE Support

closed
nobody
None
5
2004-10-23
2004-06-01
tbhimdi
No

If IDLE support is added, the server notifies the
client when new mail has arrived. So continuous
polling of the server every X minutes isn't required.
I don't know if the IMAP server will notify when every
email has arrived or only when email in the Inbox has
arrived.

Here is the RFC:
ftp://ftp.rfc-editor.org/in-notes/rfc2177.txt

Discussion

  • Logged In: YES
    user_id=148212

    If I understood RFC, this requires to stay connected to the
    IMAP server. How is this compatible with another client that
    want to fetch the same account ?

    Nicolas

     
  • tbhimdi
    tbhimdi
    2004-06-14

    Logged In: YES
    user_id=1026236

    I believe the server sends IDLE data to all connections as
    well. So, say you're connected to the same IMAP account
    using 2 different clients. If you mark a message
    read/unread repeatedly from one client, then the change
    happens in realtime in the second client, as long as it
    supports IDLE as well. Try it with Mozilla 1.7+, it should
    work just like that.

    If the client doesn't support IDLE, then the changes won't
    appear until a refresh occurs of that mailbox.

    The server should obviously allow multiple connections for
    the same account. I haven't yet run across an IMAP server
    that doesn't allow more than 1.

    I hope I answered your question.

     
  • Logged In: NO

    It does not interfere with other clients checking mail too.

    I think IMAP IDLE should really be added for "true" IMAP
    support; polling the server for every query results in quite
    a lot of consequtive connections to the mailserver. One of
    the great advantages of IMAP is in fact the immediate
    alerting of new mails!

    At my work, many connection attempts results in a one-minute
    ban :(

     
    • status: open --> closed
     
  • Logged In: YES
    user_id=148212

    Ok, I read the RFC and implemented the IDLE command in an
    alpha version. It's working ok so far and will be available
    in next major release of gnubiff.