[Kde-pim] [PATCH] imap resource: Support multiple IDLE folders.

RĂ¼diger Sonderfeld ruediger at c-plusplus.de
Tue Oct 23 23:06:50 BST 2012


On Tuesday 23 October 2012 17:47:21 Georg C. F. Greve wrote:
> Apologies, when reading the beginning of the thread I just saw Kevin pointed
> out notify already. I was travelling. :-/ In any case, I would strongly
> agree with Kevin on this. And as far as I know, Cyrus 2.4 already supports
> NOTIFY.
> 
> With Dovecot soon also supporting it, I think that's a good enough coverage
> and in the end it is not like other servers are stopped from implementing
> it, as well.

My patch does not prevent an implementation of NOTIFY. But NOTIFY currently is 
just not available in any stable configuration for any stable release of an 
IMAP server.

There currently is no alternative to using multiple connections to watch 
multiple servers. This is not ideal and certainly should not be the default 
configuration. But I see no problem in allowing the user - in the advanced 
options - to configure such a behavior. Other MUAs and IMAP clients such as 
thunderbird, offlineimap, or k9mail (an android mail client) do this as well.

When NOTIFY becomes available it should be no problem to replace my current 
implementation with NOTIFY or adding NOTIFY as an alternative. But right now 
NOTIFY does not solve the problem.

On Tuesday 23 October 2012 17:40:53 Georg C. F. Greve wrote:
> Please keep in mind we are also trying to keep that IMAP agent capable of 
> being used on mobile connections. Having potentially hundreds of open 
> connections seems like a sure way to burn through the battery on notebooks, 
> tablets, and phones quickly, not to mention potential connection cost.

Several IDLE connections should be cheaper on the battery and connection costs 
than regular mail checks. There should be no transmission on the IDLE 
connection unless there is new mail. And unless there is a bug in KIMAP or Qt 
the costs of waiting on input on a socket are very low. With regular mail 
checks on the other hand you have constant setup and teardown of TCP and IMAP 
connections.

Regards,
RĂ¼diger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20121024/6a02d145/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list